#F0E070#F0E070

#F0E070 is a very light, vivid yellow. Relative luminance 0.730; OKLCH L 89.8% C 0.134 H 101.3°. Best body text is #000000 at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#F0E070
RGBrgb(240, 224, 112)
HSLhsl(53, 81%, 69%)
HSVhsv(53, 53%, 94%)
CMYKcmyk(0%, 6.7%, 53.3%, 5.9%)
CIE-LABlab(88.45, -8.54, 56.06)
CIE-LCHlch(88.45, 56.71, 98.66°)
OKLaboklab(89.75% -0.0262 0.1315)
OKLCHoklch(89.75% 0.134 101.3)
XYZxyz(65.5176, 73.0088, 25.9670)
Luminance0.7301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E070 #7080F0
analogous
#F0A070 #F0E070 #C0F070
triadic
#F0E070 #70F0E0 #E070F0
tetradic
#F0E070 #70F0A0 #7080F0 #F070C0
square
#F0E070 #70F0A0 #7080F0 #F070C0
split-complementary
#F0E070 #70C0F0 #A070F0
monochromatic
#D0B916 #EAD439 #F0E070 #F6ECA7 #FCF8DF

Accessibility & contrast

On white

1.35
#F0E070 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.60
#F0E070 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E070
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E070#FFFFFF#000000##000000
##F0E0701.001.3515.6015.60
#FFFFFF1.351.0021.0021.00
#00000015.6021.001.001.00
##00000015.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA65
Deuteranopia (green-blind)
#F6E175
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f0e070;
/* rgb */ color: rgb(240, 224, 112);
/* oklch */ color: oklch(89.8% 0.134 101.3);
Tailwind
colors: {
  custom: {
    50: '#f7e99c',
    500: '#f0e070',
    950: '#000000',
  },
}
SCSS
$custom: #f0e070;
$custom-light: #f7e99c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e070",
  "rgb": {
    "r": 240,
    "g": 224,
    "b": 112
  },
  "hsl": {
    "h": 52.5,
    "s": 81.013,
    "l": 69.02
  },
  "oklch": {
    "l": 0.89751,
    "c": 0.13411,
    "h": 101.3
  },
  "luminance": 0.73006
}

Semantic roles & 50–950 ramp

primary
#F0E070
secondary
#3B4DC9
accent
#23DD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0E070

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

Preview Lab → · Contrast checker → · Palette generator →

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