#F2E06C#F2E06C

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

Color values

HEX#F2E06C
RGBrgb(242, 224, 108)
HSLhsl(52, 84%, 69%)
HSVhsv(52, 55%, 95%)
CMYKcmyk(0%, 7.4%, 55.4%, 5.1%)
CIE-LABlab(88.58, -8.04, 58.08)
CIE-LCHlch(88.58, 58.64, 97.88°)
OKLaboklab(89.88% -0.0253 0.1354)
OKLCHoklch(89.88% 0.138 100.6)
XYZxyz(65.9827, 73.2738, 24.8521)
Luminance0.7327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E06C #6C7EF2
analogous
#F29D6C #F2E06C #C1F26C
triadic
#F2E06C #6CF2E0 #E06CF2
tetradic
#F2E06C #6CF29D #6C7EF2 #F26CC1
square
#F2E06C #6CF29D #6C7EF2 #F26CC1
split-complementary
#F2E06C #6CC1F2 #9D6CF2
monochromatic
#D1B712 #EDD434 #F2E06C #F7ECA4 #FCF8DC

Accessibility & contrast

On white

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

On black

15.65
#F2E06C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E06C
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E06C#FFFFFF#000000##000000
##F2E06C1.001.3415.6515.65
#FFFFFF1.341.0021.0021.00
#00000015.6521.001.001.00
##00000015.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA61
Deuteranopia (green-blind)
#F7E272
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2e06c;
/* rgb */ color: rgb(242, 224, 108);
/* oklch */ color: oklch(89.9% 0.138 100.6);
Tailwind
colors: {
  custom: {
    50: '#f9e999',
    500: '#f2e06c',
    950: '#000000',
  },
}
SCSS
$custom: #f2e06c;
$custom-light: #f9e999;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e06c",
  "rgb": {
    "r": 242,
    "g": 224,
    "b": 108
  },
  "hsl": {
    "h": 51.94,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.89878,
    "c": 0.13778,
    "h": 100.6
  },
  "luminance": 0.73271
}

Semantic roles & 50–950 ramp

primary
#F2E06C
secondary
#374BCB
accent
#23E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E06C

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

Preview Lab → · Contrast checker → · Palette generator →

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