#F2DD6D#F2DD6D

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

Color values

HEX#F2DD6D
RGBrgb(242, 221, 109)
HSLhsl(51, 84%, 69%)
HSVhsv(51, 55%, 95%)
CMYKcmyk(0%, 8.7%, 55%, 5.1%)
CIE-LABlab(87.82, -6.46, 56.75)
CIE-LCHlch(87.82, 57.12, 96.49°)
OKLaboklab(89.28% -0.0207 0.1327)
OKLCHoklch(89.28% 0.134 98.9)
XYZxyz(65.2370, 71.6969, 24.8676)
Luminance0.7169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DD6D #6D82F2
analogous
#F29B6D #F2DD6D #C5F26D
triadic
#F2DD6D #6DF2DD #DD6DF2
tetradic
#F2DD6D #6DF29B #6D82F2 #F26DC5
square
#F2DD6D #6DF29B #6D82F2 #F26DC5
split-complementary
#F2DD6D #6DC5F2 #9B6DF2
monochromatic
#D2B413 #EDD035 #F2DD6D #F7EAA5 #FCF7DD

Accessibility & contrast

On white

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

On black

15.34
#F2DD6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DD6D
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DD6D#FFFFFF#000000##000000
##F2DD6D1.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD862
Deuteranopia (green-blind)
#F5E072
Tritanopia (blue-blind)
#FFCFC4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f2dd6d;
/* rgb */ color: rgb(242, 221, 109);
/* oklch */ color: oklch(89.3% 0.134 98.9);
Tailwind
colors: {
  custom: {
    50: '#f9e79a',
    500: '#f2dd6d',
    950: '#000000',
  },
}
SCSS
$custom: #f2dd6d;
$custom-light: #f9e79a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dd6d",
  "rgb": {
    "r": 242,
    "g": 221,
    "b": 109
  },
  "hsl": {
    "h": 50.526,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.89282,
    "c": 0.13427,
    "h": 98.9
  },
  "luminance": 0.71694
}

Semantic roles & 50–950 ramp

primary
#F2DD6D
secondary
#384FCB
accent
#28E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2DD6D

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

Preview Lab → · Contrast checker → · Palette generator →

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