#F2DD6C#F2DD6C

#F2DD6C is a very light, vivid yellow. Relative luminance 0.717; OKLCH L 89.3% C 0.135 H 98.9°. Best body text is #000000 at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#F2DD6C
RGBrgb(242, 221, 108)
HSLhsl(51, 84%, 69%)
HSVhsv(51, 55%, 95%)
CMYKcmyk(0%, 8.7%, 55.4%, 5.1%)
CIE-LABlab(87.81, -6.54, 57.20)
CIE-LCHlch(87.81, 57.57, 96.52°)
OKLaboklab(89.27% -0.021 0.1335)
OKLCHoklch(89.27% 0.135 98.9)
XYZxyz(65.1835, 71.6755, 24.5857)
Luminance0.7167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DD6C #6C81F2
analogous
#F29A6C #F2DD6C #C4F26C
triadic
#F2DD6C #6CF2DD #DD6CF2
tetradic
#F2DD6C #6CF29A #6C81F2 #F26CC4
square
#F2DD6C #6CF29A #6C81F2 #F26CC4
split-complementary
#F2DD6C #6CC4F2 #9A6CF2
monochromatic
#D1B312 #EDD034 #F2DD6C #F7EAA4 #FCF7DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2DD6C#FFFFFF#000000##000000
##F2DD6C1.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)
#EFD861
Deuteranopia (green-blind)
#F5E071
Tritanopia (blue-blind)
#FFCFC4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f2dd6c;
/* rgb */ color: rgb(242, 221, 108);
/* oklch */ color: oklch(89.3% 0.135 98.9);
Tailwind
colors: {
  custom: {
    50: '#f9e799',
    500: '#f2dd6c',
    950: '#000000',
  },
}
SCSS
$custom: #f2dd6c;
$custom-light: #f9e799;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dd6c",
  "rgb": {
    "r": 242,
    "g": 221,
    "b": 108
  },
  "hsl": {
    "h": 50.597,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.89271,
    "c": 0.13517,
    "h": 98.9
  },
  "luminance": 0.71673
}

Semantic roles & 50–950 ramp

primary
#F2DD6C
secondary
#374ECB
accent
#28E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2DD6C

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

Preview Lab → · Contrast checker → · Palette generator →

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