#F0E459#F0E459

#F0E459 is a very light, vivid yellow. Relative luminance 0.747; OKLCH L 90.3% C 0.157 H 104.4°. Best body text is #000000 at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#F0E459
RGBrgb(240, 228, 89)
HSLhsl(55, 83%, 65%)
HSVhsv(55, 63%, 94%)
CMYKcmyk(0%, 5%, 62.9%, 5.9%)
CIE-LABlab(89.27, -12.14, 67.01)
CIE-LCHlch(89.27, 68.10, 100.27°)
OKLaboklab(90.33% -0.039 0.1521)
OKLCHoklch(90.33% 0.157 104.4)
XYZxyz(65.4842, 74.7357, 20.4253)
Luminance0.7473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E459 #5965F0
analogous
#F09959 #F0E459 #B0F059
triadic
#F0E459 #59F0E4 #E459F0
tetradic
#F0E459 #59F099 #5965F0 #F059B0
square
#F0E459 #59F099 #5965F0 #F059B0
split-complementary
#F0E459 #59B0F0 #9959F0
monochromatic
#BDB011 #EBDB21 #F0E459 #F5ED91 #FAF6C9

Accessibility & contrast

On white

1.32
#F0E459 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.95
#F0E459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E459
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E459#FFFFFF#000000##000000
##F0E4591.001.3215.9515.95
#FFFFFF1.321.0021.0021.00
#00000015.9521.001.001.00
##00000015.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DD48
Deuteranopia (green-blind)
#FBE361
Tritanopia (blue-blind)
#FFD5C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f0e459;
/* rgb */ color: rgb(240, 228, 89);
/* oklch */ color: oklch(90.3% 0.157 104.4);
Tailwind
colors: {
  custom: {
    50: '#f8ec8e',
    500: '#f0e459',
    950: '#000000',
  },
}
SCSS
$custom: #f0e459;
$custom-light: #f8ec8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e459",
  "rgb": {
    "r": 240,
    "g": 228,
    "b": 89
  },
  "hsl": {
    "h": 55.232,
    "s": 83.425,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90332,
    "c": 0.15704,
    "h": 104.4
  },
  "luminance": 0.74733
}

Semantic roles & 50–950 ramp

primary
#F0E459
secondary
#313CBC
accent
#17E006
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E459

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

Preview Lab → · Contrast checker → · Palette generator →

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