#F2D989#F2D989

#F2D989 is a very light, moderate yellow. Relative luminance 0.703; OKLCH L 88.9% C 0.103 H 92.7°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#F2D989
RGBrgb(242, 217, 137)
HSLhsl(46, 80%, 74%)
HSVhsv(46, 43%, 95%)
CMYKcmyk(0%, 10.3%, 43.4%, 5.1%)
CIE-LABlab(87.15, -1.96, 42.48)
CIE-LCHlch(87.15, 42.52, 92.65°)
OKLaboklab(88.86% -0.0048 0.1033)
OKLCHoklch(88.86% 0.103 92.7)
XYZxyz(65.9479, 70.3116, 33.7597)
Luminance0.7031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D989 #89A2F2
analogous
#F2A589 #F2D989 #D7F289
triadic
#F2D989 #89F2D9 #D989F2
tetradic
#F2D989 #89F2A5 #89A2F2 #F289D7
square
#F2D989 #89F2A5 #89A2F2 #F289D7
split-complementary
#F2D989 #89D7F2 #A589F2
monochromatic
#E6B51B #ECC752 #F2D989 #F8EBC0 #FCF6E3

Accessibility & contrast

On white

1.39
#F2D989 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.06
#F2D989 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D989
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D989#FFFFFF#000000##000000
##F2D9891.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D683
Deuteranopia (green-blind)
#EFDE8C
Tritanopia (blue-blind)
#FFCDC5
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f2d989;
/* rgb */ color: rgb(242, 217, 137);
/* oklch */ color: oklch(88.9% 0.103 92.7);
Tailwind
colors: {
  custom: {
    50: '#f8e4ac',
    500: '#f2d989',
    950: '#000000',
  },
}
SCSS
$custom: #f2d989;
$custom-light: #f8e4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d989",
  "rgb": {
    "r": 242,
    "g": 217,
    "b": 137
  },
  "hsl": {
    "h": 45.714,
    "s": 80.153,
    "l": 74.314
  },
  "oklch": {
    "l": 0.8886,
    "c": 0.10339,
    "h": 92.7
  },
  "luminance": 0.70309
}

Semantic roles & 50–950 ramp

primary
#F2D989
secondary
#516FCE
accent
#3BDC09
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #F2D989

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

Preview Lab → · Contrast checker → · Palette generator →

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