#F2E16D#F2E16D

#F2E16D is a very light, vivid yellow. Relative luminance 0.738; OKLCH L 90.1% C 0.138 H 101.1°. Best body text is #000000 at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#F2E16D
RGBrgb(242, 225, 109)
HSLhsl(52, 84%, 69%)
HSVhsv(52, 55%, 95%)
CMYKcmyk(0%, 7%, 55%, 5.1%)
CIE-LABlab(88.84, -8.47, 57.93)
CIE-LCHlch(88.84, 58.55, 98.32°)
OKLaboklab(90.09% -0.0264 0.1352)
OKLCHoklch(90.09% 0.138 101.1)
XYZxyz(66.3057, 73.8343, 25.2238)
Luminance0.7383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E16D #6D7EF2
analogous
#F29F6D #F2E16D #C1F26D
triadic
#F2E16D #6DF2E1 #E16DF2
tetradic
#F2E16D #6DF29F #6D7EF2 #F26DC1
square
#F2E16D #6DF29F #6D7EF2 #F26DC1
split-complementary
#F2E16D #6DC1F2 #9F6DF2
monochromatic
#D2B913 #EDD535 #F2E16D #F7EDA5 #FCF8DD

Accessibility & contrast

On white

1.33
#F2E16D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.77
#F2E16D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E16D
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E16D#FFFFFF#000000##000000
##F2E16D1.001.3315.7715.77
#FFFFFF1.331.0021.0021.00
#00000015.7721.001.001.00
##00000015.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB62
Deuteranopia (green-blind)
#F8E273
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f2e16d;
/* rgb */ color: rgb(242, 225, 109);
/* oklch */ color: oklch(90.1% 0.138 101.1);
Tailwind
colors: {
  custom: {
    50: '#f9ea9a',
    500: '#f2e16d',
    950: '#000000',
  },
}
SCSS
$custom: #f2e16d;
$custom-light: #f9ea9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e16d",
  "rgb": {
    "r": 242,
    "g": 225,
    "b": 109
  },
  "hsl": {
    "h": 52.331,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.90092,
    "c": 0.13778,
    "h": 101.1
  },
  "luminance": 0.73832
}

Semantic roles & 50–950 ramp

primary
#F2E16D
secondary
#384BCB
accent
#21E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E16D

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

Preview Lab → · Contrast checker → · Palette generator →

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