#F0E689#F0E689

#F0E689 is a very light, moderate yellow. Relative luminance 0.769; OKLCH L 91.3% C 0.115 H 103.0°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#F0E689
RGBrgb(240, 230, 137)
HSLhsl(54, 77%, 74%)
HSVhsv(54, 43%, 94%)
CMYKcmyk(0%, 4.2%, 42.9%, 5.9%)
CIE-LABlab(90.29, -9.31, 46.40)
CIE-LCHlch(90.29, 47.32, 101.35°)
OKLaboklab(91.3% -0.026 0.1122)
OKLCHoklch(91.3% 0.115 103)
XYZxyz(68.7488, 76.9270, 34.8890)
Luminance0.7692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E689 #8993F0
analogous
#F0B389 #F0E689 #C7F089
triadic
#F0E689 #89F0E6 #E689F0
tetradic
#F0E689 #89F0B3 #8993F0 #F089C7
square
#F0E689 #89F0B3 #8993F0 #F089C7
split-complementary
#F0E689 #89C7F0 #B389F0
monochromatic
#E2CF1D #E9DA53 #F0E689 #F7F2BF #FCF9E4

Accessibility & contrast

On white

1.28
#F0E689 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.38
#F0E689 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E689
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E689#FFFFFF#000000##000000
##F0E6891.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E082
Deuteranopia (green-blind)
#F9E68D
Tritanopia (blue-blind)
#FEDBCF
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f0e689;
/* rgb */ color: rgb(240, 230, 137);
/* oklch */ color: oklch(91.3% 0.115 103.0);
Tailwind
colors: {
  custom: {
    50: '#f6edad',
    500: '#f0e689',
    950: '#000000',
  },
}
SCSS
$custom: #f0e689;
$custom-light: #f6edad;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e689",
  "rgb": {
    "r": 240,
    "g": 230,
    "b": 137
  },
  "hsl": {
    "h": 54.175,
    "s": 77.444,
    "l": 73.922
  },
  "oklch": {
    "l": 0.91304,
    "c": 0.11512,
    "h": 103
  },
  "luminance": 0.76925
}

Semantic roles & 50–950 ramp

primary
#F0E689
secondary
#525DCC
accent
#20DA0C
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F0E689

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

Preview Lab → · Contrast checker → · Palette generator →

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