#F0EA7B#F0EA7B

#F0EA7B is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 91.9% C 0.133 H 106.0°. Best body text is #000000 at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#F0EA7B
RGBrgb(240, 234, 123)
HSLhsl(57, 80%, 71%)
HSVhsv(57, 49%, 94%)
CMYKcmyk(0%, 2.5%, 48.7%, 5.9%)
CIE-LABlab(91.14, -12.60, 54.14)
CIE-LCHlch(91.14, 55.59, 103.10°)
OKLaboklab(91.93% -0.0367 0.1283)
OKLCHoklch(91.93% 0.133 106)
XYZxyz(68.9349, 78.8029, 30.3142)
Luminance0.7880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EA7B #7B81F0
analogous
#F0AF7B #F0EA7B #BBF07B
triadic
#F0EA7B #7BF0EA #EA7BF0
tetradic
#F0EA7B #7BF0AF #7B81F0 #F07BBB
square
#F0EA7B #7BF0AF #7B81F0 #F07BBB
split-complementary
#F0EA7B #7BBBF0 #AF7BF0
monochromatic
#D8CE19 #EAE144 #F0EA7B #F6F3B2 #FCFBE4

Accessibility & contrast

On white

1.25
#F0EA7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.76
#F0EA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EA7B
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EA7B#FFFFFF#000000##000000
##F0EA7B1.001.2516.7616.76
#FFFFFF1.251.0021.0021.00
#00000016.7621.001.001.00
##00000016.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE371
Deuteranopia (green-blind)
#FDE880
Tritanopia (blue-blind)
#FEDED0
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f0ea7b;
/* rgb */ color: rgb(240, 234, 123);
/* oklch */ color: oklch(91.9% 0.133 106.0);
Tailwind
colors: {
  custom: {
    50: '#f7f0a4',
    500: '#f0ea7b',
    950: '#000000',
  },
}
SCSS
$custom: #f0ea7b;
$custom-light: #f7f0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ea7b",
  "rgb": {
    "r": 240,
    "g": 234,
    "b": 123
  },
  "hsl": {
    "h": 56.923,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91929,
    "c": 0.13348,
    "h": 106
  },
  "luminance": 0.78801
}

Semantic roles & 50–950 ramp

primary
#F0EA7B
secondary
#454CCA
accent
#14DC0A
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #F0EA7B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#F0EA7B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva