#F0E790#F0E790

#F0E790 is a very light, moderate yellow. Relative luminance 0.777; OKLCH L 91.6% C 0.109 H 103.2°. Best body text is #000000 at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#F0E790
RGBrgb(240, 231, 144)
HSLhsl(54, 76%, 75%)
HSVhsv(54, 40%, 94%)
CMYKcmyk(0%, 3.7%, 40%, 5.9%)
CIE-LABlab(90.64, -9.10, 43.41)
CIE-LCHlch(90.64, 44.35, 101.84°)
OKLaboklab(91.61% -0.0248 0.1058)
OKLCHoklch(91.61% 0.109 103.2)
XYZxyz(69.5464, 77.6925, 37.7128)
Luminance0.7769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E790 #9099F0
analogous
#F0B790 #F0E790 #C9F090
triadic
#F0E790 #90F0E7 #E790F0
tetradic
#F0E790 #90F0B7 #9099F0 #F090C9
square
#F0E790 #90F0B7 #9099F0 #F090C9
split-complementary
#F0E790 #90C9F0 #B790F0
monochromatic
#E1D024 #E9DB5A #F0E790 #F7F3C6 #FBF9E4

Accessibility & contrast

On white

1.27
#F0E790 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.54
#F0E790 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E790
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E790#FFFFFF#000000##000000
##F0E7901.001.2716.5416.54
#FFFFFF1.271.0021.0021.00
#00000016.5421.001.001.00
##00000016.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E189
Deuteranopia (green-blind)
#F9E694
Tritanopia (blue-blind)
#FDDCD2
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f0e790;
/* rgb */ color: rgb(240, 231, 144);
/* oklch */ color: oklch(91.6% 0.109 103.2);
Tailwind
colors: {
  custom: {
    50: '#f6eeb1',
    500: '#f0e790',
    950: '#000000',
  },
}
SCSS
$custom: #f0e790;
$custom-light: #f6eeb1;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e790",
  "rgb": {
    "r": 240,
    "g": 231,
    "b": 144
  },
  "hsl": {
    "h": 54.375,
    "s": 76.19,
    "l": 75.294
  },
  "oklch": {
    "l": 0.91614,
    "c": 0.10863,
    "h": 103.2
  },
  "luminance": 0.77691
}

Semantic roles & 50–950 ramp

primary
#F0E790
secondary
#5863CC
accent
#20D80D
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F0E790

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

Preview Lab → · Contrast checker → · Palette generator →

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