#F2DF89#F2DF89

#F2DF89 is a very light, moderate yellow. Relative luminance 0.735; OKLCH L 90.1% C 0.108 H 97.2°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#F2DF89
RGBrgb(242, 223, 137)
HSLhsl(49, 80%, 74%)
HSVhsv(49, 43%, 95%)
CMYKcmyk(0%, 7.9%, 43.4%, 5.1%)
CIE-LABlab(88.67, -5.01, 44.40)
CIE-LCHlch(88.67, 44.68, 96.44°)
OKLaboklab(90.06% -0.0137 0.1076)
OKLCHoklch(90.06% 0.108 97.2)
XYZxyz(67.5227, 73.4611, 34.2846)
Luminance0.7346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DF89 #899CF2
analogous
#F2AB89 #F2DF89 #D1F289
triadic
#F2DF89 #89F2DF #DF89F2
tetradic
#F2DF89 #89F2AB #899CF2 #F289D1
square
#F2DF89 #89F2AB #899CF2 #F289D1
split-complementary
#F2DF89 #89D1F2 #AB89F2
monochromatic
#E6C11B #ECD052 #F2DF89 #F8EEC0 #FCF8E3

Accessibility & contrast

On white

1.34
#F2DF89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.69
#F2DF89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DF89
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DF89#FFFFFF#000000##000000
##F2DF891.001.3415.6915.69
#FFFFFF1.341.0021.0021.00
#00000015.6921.001.001.00
##00000015.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDB82
Deuteranopia (green-blind)
#F4E28C
Tritanopia (blue-blind)
#FFD3CA
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f2df89;
/* rgb */ color: rgb(242, 223, 137);
/* oklch */ color: oklch(90.1% 0.108 97.2);
Tailwind
colors: {
  custom: {
    50: '#f8e8ad',
    500: '#f2df89',
    950: '#000000',
  },
}
SCSS
$custom: #f2df89;
$custom-light: #f8e8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f2df89",
  "rgb": {
    "r": 242,
    "g": 223,
    "b": 137
  },
  "hsl": {
    "h": 49.143,
    "s": 80.153,
    "l": 74.314
  },
  "oklch": {
    "l": 0.9006,
    "c": 0.10849,
    "h": 97.2
  },
  "luminance": 0.73459
}

Semantic roles & 50–950 ramp

primary
#F2DF89
secondary
#5168CE
accent
#2FDC09
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F2DF89

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

Preview Lab → · Contrast checker → · Palette generator →

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