#F0E289#F0E289

#F0E289 is a very light, moderate yellow. Relative luminance 0.747; OKLCH L 90.5% C 0.111 H 100.5°. Best body text is #000000 at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#F0E289
RGBrgb(240, 226, 137)
HSLhsl(52, 77%, 74%)
HSVhsv(52, 43%, 94%)
CMYKcmyk(0%, 5.8%, 42.9%, 5.9%)
CIE-LABlab(89.26, -7.31, 45.11)
CIE-LCHlch(89.26, 45.70, 99.20°)
OKLaboklab(90.49% -0.0202 0.1093)
OKLCHoklch(90.49% 0.111 100.5)
XYZxyz(67.6484, 74.7262, 34.5222)
Luminance0.7472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E289 #8997F0
analogous
#F0AF89 #F0E289 #CBF089
triadic
#F0E289 #89F0E2 #E289F0
tetradic
#F0E289 #89F0AF #8997F0 #F089CB
square
#F0E289 #89F0AF #8997F0 #F089CB
split-complementary
#F0E289 #89CBF0 #AF89F0
monochromatic
#E2C71D #E9D553 #F0E289 #F7EFBF #FCF8E4

Accessibility & contrast

On white

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

On black

15.94
#F0E289 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E289
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E289#FFFFFF#000000##000000
##F0E2891.001.3215.9415.94
#FFFFFF1.321.0021.0021.00
#00000015.9421.001.001.00
##00000015.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DD82
Deuteranopia (green-blind)
#F6E38D
Tritanopia (blue-blind)
#FED7CC
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f0e289;
/* rgb */ color: rgb(240, 226, 137);
/* oklch */ color: oklch(90.5% 0.111 100.5);
Tailwind
colors: {
  custom: {
    50: '#f6eaad',
    500: '#f0e289',
    950: '#000000',
  },
}
SCSS
$custom: #f0e289;
$custom-light: #f6eaad;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e289",
  "rgb": {
    "r": 240,
    "g": 226,
    "b": 137
  },
  "hsl": {
    "h": 51.845,
    "s": 77.444,
    "l": 73.922
  },
  "oklch": {
    "l": 0.90493,
    "c": 0.11111,
    "h": 100.5
  },
  "luminance": 0.74724
}

Semantic roles & 50–950 ramp

primary
#F0E289
secondary
#5262CC
accent
#28DA0C
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F0E289

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

Preview Lab → · Contrast checker → · Palette generator →

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