#F2DD89#F2DD89

#F2DD89 is a very light, moderate yellow. Relative luminance 0.724; OKLCH L 89.7% C 0.107 H 95.8°. Best body text is #000000 at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#F2DD89
RGBrgb(242, 221, 137)
HSLhsl(48, 80%, 74%)
HSVhsv(48, 43%, 95%)
CMYKcmyk(0%, 8.7%, 43.4%, 5.1%)
CIE-LABlab(88.16, -4.00, 43.76)
CIE-LCHlch(88.16, 43.94, 95.22°)
OKLaboklab(89.66% -0.0107 0.1062)
OKLCHoklch(89.66% 0.107 95.8)
XYZxyz(66.9915, 72.3987, 34.1076)
Luminance0.7240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DD89 #899EF2
analogous
#F2A989 #F2DD89 #D3F289
triadic
#F2DD89 #89F2DD #DD89F2
tetradic
#F2DD89 #89F2A9 #899EF2 #F289D3
square
#F2DD89 #89F2A9 #899EF2 #F289D3
split-complementary
#F2DD89 #89D3F2 #A989F2
monochromatic
#E6BD1B #ECCD52 #F2DD89 #F8EDC0 #FCF7E3

Accessibility & contrast

On white

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

On black

15.48
#F2DD89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DD89
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DD89#FFFFFF#000000##000000
##F2DD891.001.3615.4815.48
#FFFFFF1.361.0021.0021.00
#00000015.4821.001.001.00
##00000015.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD982
Deuteranopia (green-blind)
#F2E08C
Tritanopia (blue-blind)
#FFD1C8
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f2dd89;
/* rgb */ color: rgb(242, 221, 137);
/* oklch */ color: oklch(89.7% 0.107 95.8);
Tailwind
colors: {
  custom: {
    50: '#f8e7ac',
    500: '#f2dd89',
    950: '#000000',
  },
}
SCSS
$custom: #f2dd89;
$custom-light: #f8e7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dd89",
  "rgb": {
    "r": 242,
    "g": 221,
    "b": 137
  },
  "hsl": {
    "h": 48,
    "s": 80.153,
    "l": 74.314
  },
  "oklch": {
    "l": 0.89659,
    "c": 0.10672,
    "h": 95.8
  },
  "luminance": 0.72396
}

Semantic roles & 50–950 ramp

primary
#F2DD89
secondary
#516ACE
accent
#33DC09
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F2DD89

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

Preview Lab → · Contrast checker → · Palette generator →

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