#F0D889#F0D889

#F0D889 is a very light, moderate yellow. Relative luminance 0.694; OKLCH L 88.5% C 0.102 H 93.1°. Best body text is #000000 at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#F0D889
RGBrgb(240, 216, 137)
HSLhsl(46, 77%, 74%)
HSVhsv(46, 43%, 94%)
CMYKcmyk(0%, 10%, 42.9%, 5.9%)
CIE-LABlab(86.72, -2.24, 41.90)
CIE-LCHlch(86.72, 41.96, 93.06°)
OKLaboklab(88.48% -0.0055 0.102)
OKLCHoklch(88.48% 0.102 93.1)
XYZxyz(65.0081, 69.4456, 33.6421)
Luminance0.6944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D889 #89A1F0
analogous
#F0A589 #F0D889 #D5F089
triadic
#F0D889 #89F0D8 #D889F0
tetradic
#F0D889 #89F0A5 #89A1F0 #F089D5
square
#F0D889 #89F0A5 #89A1F0 #F089D5
split-complementary
#F0D889 #89D5F0 #A589F0
monochromatic
#E2B41D #E9C653 #F0D889 #F7EABF #FCF6E4

Accessibility & contrast

On white

1.41
#F0D889 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.89
#F0D889 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D889
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D889#FFFFFF#000000##000000
##F0D8891.001.4114.8914.89
#FFFFFF1.411.0021.0021.00
#00000014.8921.001.001.00
##00000014.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D583
Deuteranopia (green-blind)
#EEDC8C
Tritanopia (blue-blind)
#FFCDC4
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f0d889;
/* rgb */ color: rgb(240, 216, 137);
/* oklch */ color: oklch(88.5% 0.102 93.1);
Tailwind
colors: {
  custom: {
    50: '#f6e3ac',
    500: '#f0d889',
    950: '#000000',
  },
}
SCSS
$custom: #f0d889;
$custom-light: #f6e3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d889",
  "rgb": {
    "r": 240,
    "g": 216,
    "b": 137
  },
  "hsl": {
    "h": 46.019,
    "s": 77.444,
    "l": 73.922
  },
  "oklch": {
    "l": 0.88484,
    "c": 0.10215,
    "h": 93.1
  },
  "luminance": 0.69443
}

Semantic roles & 50–950 ramp

primary
#F0D889
secondary
#526ECC
accent
#3CDA0C
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #F0D889

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

Preview Lab → · Contrast checker → · Palette generator →

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