#F0E07D#F0E07D

#F0E07D is a very light, vivid yellow. Relative luminance 0.733; OKLCH L 89.9% C 0.122 H 100.3°. Best body text is #000000 at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#F0E07D
RGBrgb(240, 224, 125)
HSLhsl(52, 79%, 72%)
HSVhsv(52, 48%, 94%)
CMYKcmyk(0%, 6.7%, 47.9%, 5.9%)
CIE-LABlab(88.60, -7.44, 50.12)
CIE-LCHlch(88.60, 50.67, 98.44°)
OKLaboklab(89.92% -0.0217 0.1197)
OKLCHoklch(89.92% 0.122 100.3)
XYZxyz(66.2944, 73.3195, 30.0580)
Luminance0.7332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E07D #7D8DF0
analogous
#F0A77D #F0E07D #C7F07D
triadic
#F0E07D #7DF0E0 #E07DF0
tetradic
#F0E07D #7DF0A7 #7D8DF0 #F07DC7
square
#F0E07D #7DF0A7 #7D8DF0 #F07DC7
split-complementary
#F0E07D #7DC7F0 #A77DF0
monochromatic
#DABF19 #EAD346 #F0E07D #F6EDB4 #FCF8E4

Accessibility & contrast

On white

1.34
#F0E07D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.66
#F0E07D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E07D
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E07D#FFFFFF#000000##000000
##F0E07D1.001.3415.6615.66
#FFFFFF1.341.0021.0021.00
#00000015.6621.001.001.00
##00000015.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DB75
Deuteranopia (green-blind)
#F5E181
Tritanopia (blue-blind)
#FFD4C9
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f0e07d;
/* rgb */ color: rgb(240, 224, 125);
/* oklch */ color: oklch(89.9% 0.122 100.3);
Tailwind
colors: {
  custom: {
    50: '#f7e9a4',
    500: '#f0e07d',
    950: '#000000',
  },
}
SCSS
$custom: #f0e07d;
$custom-light: #f7e9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e07d",
  "rgb": {
    "r": 240,
    "g": 224,
    "b": 125
  },
  "hsl": {
    "h": 51.652,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.89916,
    "c": 0.1216,
    "h": 100.3
  },
  "luminance": 0.73317
}

Semantic roles & 50–950 ramp

primary
#F0E07D
secondary
#4759CA
accent
#27DC0A
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #F0E07D

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

Preview Lab → · Contrast checker → · Palette generator →

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