#F2E06D#F2E06D

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

Color values

HEX#F2E06D
RGBrgb(242, 224, 109)
HSLhsl(52, 84%, 69%)
HSVhsv(52, 55%, 95%)
CMYKcmyk(0%, 7.4%, 55%, 5.1%)
CIE-LABlab(88.59, -7.97, 57.64)
CIE-LCHlch(88.59, 58.19, 97.87°)
OKLaboklab(89.89% -0.025 0.1346)
OKLCHoklch(89.89% 0.137 100.5)
XYZxyz(66.0362, 73.2952, 25.1340)
Luminance0.7329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E06D #6D7FF2
analogous
#F29E6D #F2E06D #C2F26D
triadic
#F2E06D #6DF2E0 #E06DF2
tetradic
#F2E06D #6DF29E #6D7FF2 #F26DC2
square
#F2E06D #6DF29E #6D7FF2 #F26DC2
split-complementary
#F2E06D #6DC2F2 #9E6DF2
monochromatic
#D2B813 #EDD435 #F2E06D #F7ECA5 #FCF8DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E06D#FFFFFF#000000##000000
##F2E06D1.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)
#F2DA62
Deuteranopia (green-blind)
#F7E272
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2e06d;
/* rgb */ color: rgb(242, 224, 109);
/* oklch */ color: oklch(89.9% 0.137 100.5);
Tailwind
colors: {
  custom: {
    50: '#f9e99a',
    500: '#f2e06d',
    950: '#000000',
  },
}
SCSS
$custom: #f2e06d;
$custom-light: #f9e99a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e06d",
  "rgb": {
    "r": 242,
    "g": 224,
    "b": 109
  },
  "hsl": {
    "h": 51.88,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.89889,
    "c": 0.1369,
    "h": 100.5
  },
  "luminance": 0.73293
}

Semantic roles & 50–950 ramp

primary
#F2E06D
secondary
#384CCB
accent
#23E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E06D

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

Preview Lab → · Contrast checker → · Palette generator →

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