#F0F736

A color in the Yellow, Gold family

#f0f736 is a color in the Yellow, Gold family: RGB(240, 247, 54), HSL(62°, 92%, 59%), CMYK(3%, 0%, 78%, 3%). Closest named color: yellow. Contrast is 1.16:1 on white and 18.06:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#f0f736
RGBrgb(240 247 54)
RGB (legacy)rgb(240, 247, 54)
RGB %rgb(94% 97% 21%)
HSLhsl(62 92% 59%)
HSV / HSBhsv(62, 78%, 97%)
HWBhwb(62 21% 3%)
CMYKcmyk(3%, 0%, 78%, 3%)
CIELAB (D50)lab(94.44 -17.53 82.73)
LCHlch(94.44 84.56 101.97)
OKLaboklab(0.9406 -0.0726 0.1814)
OKLCHoklch(0.9406 0.1953 111.81)
Decimal15791926

Properties

Color ToneYellow, Gold
Closest named coloryellow ΔE 3.2
Closest web-safe color#ffff33
Hue62°
Saturation (HSL / HSV)92% / 78%
Lightness (HSL)59%
Brightness or Value (HSV)97%
Luminance (Rec.601 / Rec.709)87% / 91%
Relative luminance (WCAG)0.8531
Red / Green / Blue240 / 247 / 54

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.16:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
18.06:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 7.5 / -96.8 · As background with white / black text: Lc -8.9 / 96

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #f0f736;
  --color-brand-oklch: oklch(94.06% 0.1953 111.81);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(240 247 54 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f0f736] text-[#f0f736] border-[#f0f736]">