#F2D16D#F2D16D

#F2D16D is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.9% C 0.125 H 91.4°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#F2D16D
RGBrgb(242, 209, 109)
HSLhsl(45, 84%, 69%)
HSVhsv(45, 55%, 95%)
CMYKcmyk(0%, 13.6%, 55%, 5.1%)
CIE-LABlab(84.78, -0.36, 53.21)
CIE-LCHlch(84.78, 53.21, 90.39°)
OKLaboklab(86.88% -0.0031 0.125)
OKLCHoklch(86.88% 0.125 91.4)
XYZxyz(62.1813, 65.5853, 23.8490)
Luminance0.6558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D16D #6D8EF2
analogous
#F28F6D #F2D16D #D1F26D
triadic
#F2D16D #6DF2D1 #D16DF2
tetradic
#F2D16D #6DF28F #6D8EF2 #F26DD1
square
#F2D16D #6DF28F #6D8EF2 #F26DD1
split-complementary
#F2D16D #6DD1F2 #8F6DF2
monochromatic
#D2A213 #EDBF35 #F2D16D #F7E3A5 #FCF4DD

Accessibility & contrast

On white

1.49
#F2D16D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.12
#F2D16D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D16D
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D16D#FFFFFF#000000##000000
##F2D16D1.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CE64
Deuteranopia (green-blind)
#ECD871
Tritanopia (blue-blind)
#FFC3BA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f2d16d;
/* rgb */ color: rgb(242, 209, 109);
/* oklch */ color: oklch(86.9% 0.125 91.4);
Tailwind
colors: {
  custom: {
    50: '#f9de99',
    500: '#f2d16d',
    950: '#000000',
  },
}
SCSS
$custom: #f2d16d;
$custom-light: #f9de99;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d16d",
  "rgb": {
    "r": 242,
    "g": 209,
    "b": 109
  },
  "hsl": {
    "h": 45.113,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.8688,
    "c": 0.12503,
    "h": 91.4
  },
  "luminance": 0.65582
}

Semantic roles & 50–950 ramp

primary
#F2D16D
secondary
#385DCB
accent
#3CE005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D16D

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

Preview Lab → · Contrast checker → · Palette generator →

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