#F2DD7C#F2DD7C

#F2DD7C is a very light, vivid yellow. Relative luminance 0.720; OKLCH L 89.5% C 0.120 H 97.4°. Best body text is #000000 at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#F2DD7C
RGBrgb(242, 221, 124)
HSLhsl(49, 82%, 72%)
HSVhsv(49, 49%, 95%)
CMYKcmyk(0%, 8.7%, 48.8%, 5.1%)
CIE-LABlab(87.99, -5.22, 49.90)
CIE-LCHlch(87.99, 50.17, 95.97°)
OKLaboklab(89.47% -0.0155 0.1191)
OKLCHoklch(89.47% 0.12 97.4)
XYZxyz(66.1145, 72.0479, 29.4889)
Luminance0.7205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DD7C #7C91F2
analogous
#F2A27C #F2DD7C #CCF27C
triadic
#F2DD7C #7CF2DD #DD7CF2
tetradic
#F2DD7C #7CF2A2 #7C91F2 #F27CCC
square
#F2DD7C #7CF2A2 #7C91F2 #F27CCC
split-complementary
#F2DD7C #7CCCF2 #A27CF2
monochromatic
#DEBA16 #ECCF44 #F2DD7C #F8EBB4 #FCF8E3

Accessibility & contrast

On white

1.36
#F2DD7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.41
#F2DD7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DD7C
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DD7C#FFFFFF#000000##000000
##F2DD7C1.001.3615.4115.41
#FFFFFF1.361.0021.0021.00
#00000015.4121.001.001.00
##00000015.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED874
Deuteranopia (green-blind)
#F4E080
Tritanopia (blue-blind)
#FFD0C6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f2dd7c;
/* rgb */ color: rgb(242, 221, 124);
/* oklch */ color: oklch(89.5% 0.120 97.4);
Tailwind
colors: {
  custom: {
    50: '#f8e7a4',
    500: '#f2dd7c',
    950: '#000000',
  },
}
SCSS
$custom: #f2dd7c;
$custom-light: #f8e7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dd7c",
  "rgb": {
    "r": 242,
    "g": 221,
    "b": 124
  },
  "hsl": {
    "h": 49.322,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.89471,
    "c": 0.12006,
    "h": 97.4
  },
  "luminance": 0.72045
}

Semantic roles & 50–950 ramp

primary
#F2DD7C
secondary
#455ECD
accent
#2DDE07
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F2DD7C

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

Preview Lab → · Contrast checker → · Palette generator →

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