#F0E566#F0E566

#F0E566 is a very light, vivid yellow. Relative luminance 0.755; OKLCH L 90.7% C 0.148 H 104.3°. Best body text is #000000 at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#F0E566
RGBrgb(240, 229, 102)
HSLhsl(55, 82%, 67%)
HSVhsv(55, 58%, 94%)
CMYKcmyk(0%, 4.6%, 57.5%, 5.9%)
CIE-LABlab(89.64, -11.78, 61.91)
CIE-LCHlch(89.64, 63.02, 100.78°)
OKLaboklab(90.66% -0.0366 0.143)
OKLCHoklch(90.66% 0.148 104.3)
XYZxyz(66.3550, 75.5255, 23.6504)
Luminance0.7552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E566 #6671F0
analogous
#F0A066 #F0E566 #B6F066
triadic
#F0E566 #66F0E5 #E566F0
tetradic
#F0E566 #66F0A0 #6671F0 #F066B6
square
#F0E566 #66F0A0 #6671F0 #F066B6
split-complementary
#F0E566 #66B6F0 #A066F0
monochromatic
#C8BA14 #EBDC2E #F0E566 #F5EE9E #FBF8D5

Accessibility & contrast

On white

1.30
#F0E566 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.10
#F0E566 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E566
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E566#FFFFFF#000000##000000
##F0E5661.001.3016.1016.10
#FFFFFF1.301.0021.0021.00
#00000016.1021.001.001.00
##00000016.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DE58
Deuteranopia (green-blind)
#FBE46D
Tritanopia (blue-blind)
#FFD7C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f0e566;
/* rgb */ color: rgb(240, 229, 102);
/* oklch */ color: oklch(90.7% 0.148 104.3);
Tailwind
colors: {
  custom: {
    50: '#f8ed96',
    500: '#f0e566',
    950: '#000000',
  },
}
SCSS
$custom: #f0e566;
$custom-light: #f8ed96;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e566",
  "rgb": {
    "r": 240,
    "g": 229,
    "b": 102
  },
  "hsl": {
    "h": 55.217,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.90661,
    "c": 0.14761,
    "h": 104.3
  },
  "luminance": 0.75523
}

Semantic roles & 50–950 ramp

primary
#F0E566
secondary
#3541C5
accent
#18DF07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0E566

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

Preview Lab → · Contrast checker → · Palette generator →

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