#F0E07E#F0E07E

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

Color values

HEX#F0E07E
RGBrgb(240, 224, 126)
HSLhsl(52, 79%, 72%)
HSVhsv(52, 48%, 94%)
CMYKcmyk(0%, 6.7%, 47.5%, 5.9%)
CIE-LABlab(88.61, -7.35, 49.65)
CIE-LCHlch(88.61, 50.19, 98.42°)
OKLaboklab(89.93% -0.0213 0.1187)
OKLCHoklch(89.93% 0.121 100.2)
XYZxyz(66.3586, 73.3452, 30.3962)
Luminance0.7334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E07E #7E8EF0
analogous
#F0A77E #F0E07E #C7F07E
triadic
#F0E07E #7EF0E0 #E07EF0
tetradic
#F0E07E #7EF0A7 #7E8EF0 #F07EC7
square
#F0E07E #7EF0A7 #7E8EF0 #F07EC7
split-complementary
#F0E07E #7EC7F0 #A77EF0
monochromatic
#DABF19 #EAD347 #F0E07E #F6EDB5 #FCF8E4

Accessibility & contrast

On white

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

On black

15.67
#F0E07E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E07E
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E07E#FFFFFF#000000##000000
##F0E07E1.001.3415.6715.67
#FFFFFF1.341.0021.0021.00
#00000015.6721.001.001.00
##00000015.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0e07e;
/* rgb */ color: rgb(240, 224, 126);
/* oklch */ color: oklch(89.9% 0.121 100.2);
Tailwind
colors: {
  custom: {
    50: '#f7e9a5',
    500: '#f0e07e',
    950: '#000000',
  },
}
SCSS
$custom: #f0e07e;
$custom-light: #f7e9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e07e",
  "rgb": {
    "r": 240,
    "g": 224,
    "b": 126
  },
  "hsl": {
    "h": 51.579,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.8993,
    "c": 0.12059,
    "h": 100.2
  },
  "luminance": 0.73343
}

Semantic roles & 50–950 ramp

primary
#F0E07E
secondary
#485ACA
accent
#27DB0A
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #F0E07E

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

Preview Lab → · Contrast checker → · Palette generator →

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