#F2DD6A#F2DD6A

#F2DD6A is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 89.2% C 0.137 H 99.1°. Best body text is #000000 at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#F2DD6A
RGBrgb(242, 221, 106)
HSLhsl(51, 84%, 68%)
HSVhsv(51, 56%, 95%)
CMYKcmyk(0%, 8.7%, 56.2%, 5.1%)
CIE-LABlab(87.79, -6.69, 58.09)
CIE-LCHlch(87.79, 58.47, 96.57°)
OKLaboklab(89.25% -0.0217 0.1352)
OKLCHoklch(89.25% 0.137 99.1)
XYZxyz(65.0783, 71.6334, 24.0315)
Luminance0.7163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DD6A #6A7FF2
analogous
#F2996A #F2DD6A #C3F26A
triadic
#F2DD6A #6AF2DD #DD6AF2
tetradic
#F2DD6A #6AF299 #6A7FF2 #F26AC3
square
#F2DD6A #6AF299 #6A7FF2 #F26AC3
split-complementary
#F2DD6A #6AC3F2 #996AF2
monochromatic
#CFB212 #EDD032 #F2DD6A #F7EAA2 #FCF7DB

Accessibility & contrast

On white

1.37
#F2DD6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.33
#F2DD6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DD6A
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DD6A#FFFFFF#000000##000000
##F2DD6A1.001.3715.3315.33
#FFFFFF1.371.0021.0021.00
#00000015.3321.001.001.00
##00000015.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD85F
Deuteranopia (green-blind)
#F5E06F
Tritanopia (blue-blind)
#FFCFC3
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f2dd6a;
/* rgb */ color: rgb(242, 221, 106);
/* oklch */ color: oklch(89.2% 0.137 99.1);
Tailwind
colors: {
  custom: {
    50: '#f9e798',
    500: '#f2dd6a',
    950: '#000000',
  },
}
SCSS
$custom: #f2dd6a;
$custom-light: #f9e798;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dd6a",
  "rgb": {
    "r": 242,
    "g": 221,
    "b": 106
  },
  "hsl": {
    "h": 50.735,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.89248,
    "c": 0.13695,
    "h": 99.1
  },
  "luminance": 0.71631
}

Semantic roles & 50–950 ramp

primary
#F2DD6A
secondary
#364DCB
accent
#27E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2DD6A

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

Preview Lab → · Contrast checker → · Palette generator →

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