#F0E489#F0E489

#F0E489 is a very light, moderate yellow. Relative luminance 0.758; OKLCH L 90.9% C 0.113 H 101.8°. Best body text is #000000 at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#F0E489
RGBrgb(240, 228, 137)
HSLhsl(53, 77%, 74%)
HSVhsv(53, 43%, 94%)
CMYKcmyk(0%, 5%, 42.9%, 5.9%)
CIE-LABlab(89.78, -8.31, 45.75)
CIE-LCHlch(89.78, 46.50, 100.29°)
OKLaboklab(90.9% -0.0231 0.1107)
OKLCHoklch(90.9% 0.113 101.8)
XYZxyz(68.1954, 75.8202, 34.7045)
Luminance0.7582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E489 #8995F0
analogous
#F0B189 #F0E489 #C9F089
triadic
#F0E489 #89F0E4 #E489F0
tetradic
#F0E489 #89F0B1 #8995F0 #F089C9
square
#F0E489 #89F0B1 #8995F0 #F089C9
split-complementary
#F0E489 #89C9F0 #B189F0
monochromatic
#E2CB1D #E9D853 #F0E489 #F7F0BF #FCF9E4

Accessibility & contrast

On white

1.30
#F0E489 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.16
#F0E489 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E489
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E489#FFFFFF#000000##000000
##F0E4891.001.3016.1616.16
#FFFFFF1.301.0021.0021.00
#00000016.1621.001.001.00
##00000016.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DF82
Deuteranopia (green-blind)
#F7E48D
Tritanopia (blue-blind)
#FED9CE
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f0e489;
/* rgb */ color: rgb(240, 228, 137);
/* oklch */ color: oklch(90.9% 0.113 101.8);
Tailwind
colors: {
  custom: {
    50: '#f6ecad',
    500: '#f0e489',
    950: '#000000',
  },
}
SCSS
$custom: #f0e489;
$custom-light: #f6ecad;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e489",
  "rgb": {
    "r": 240,
    "g": 228,
    "b": 137
  },
  "hsl": {
    "h": 53.01,
    "s": 77.444,
    "l": 73.922
  },
  "oklch": {
    "l": 0.90898,
    "c": 0.11309,
    "h": 101.8
  },
  "luminance": 0.75818
}

Semantic roles & 50–950 ramp

primary
#F0E489
secondary
#5260CC
accent
#24DA0C
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F0E489

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

Preview Lab → · Contrast checker → · Palette generator →

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