#F2E06F#F2E06F

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

Color values

HEX#F2E06F
RGBrgb(242, 224, 111)
HSLhsl(52, 83%, 69%)
HSVhsv(52, 54%, 95%)
CMYKcmyk(0%, 7.4%, 54.1%, 5.1%)
CIE-LABlab(88.61, -7.81, 56.75)
CIE-LCHlch(88.61, 57.28, 97.84°)
OKLaboklab(89.91% -0.0243 0.1329)
OKLCHoklch(89.91% 0.135 100.4)
XYZxyz(66.1451, 73.3388, 25.7074)
Luminance0.7334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E06F #6F81F2
analogous
#F29F6F #F2E06F #C2F26F
triadic
#F2E06F #6FF2E0 #E06FF2
tetradic
#F2E06F #6FF29F #6F81F2 #F26FC2
square
#F2E06F #6FF29F #6F81F2 #F26FC2
split-complementary
#F2E06F #6FC2F2 #9F6FF2
monochromatic
#D4B913 #EDD437 #F2E06F #F7ECA7 #FCF8DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E06F#FFFFFF#000000##000000
##F2E06F1.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)
#F2DA64
Deuteranopia (green-blind)
#F7E274
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2e06f;
/* rgb */ color: rgb(242, 224, 111);
/* oklch */ color: oklch(89.9% 0.135 100.4);
Tailwind
colors: {
  custom: {
    50: '#f9e99b',
    500: '#f2e06f',
    950: '#000000',
  },
}
SCSS
$custom: #f2e06f;
$custom-light: #f9e99b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e06f",
  "rgb": {
    "r": 242,
    "g": 224,
    "b": 111
  },
  "hsl": {
    "h": 51.756,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.89912,
    "c": 0.13508,
    "h": 100.4
  },
  "luminance": 0.73336
}

Semantic roles & 50–950 ramp

primary
#F2E06F
secondary
#3A4ECB
accent
#24E006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E06F

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

Preview Lab → · Contrast checker → · Palette generator →

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