#F5E790#F5E790

#F5E790 is a very light, moderate yellow. Relative luminance 0.786; OKLCH L 92.0% C 0.109 H 100.3°. Best body text is #000000 at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#F5E790
RGBrgb(245, 231, 144)
HSLhsl(52, 83%, 76%)
HSVhsv(52, 41%, 96%)
CMYKcmyk(0%, 5.7%, 41.2%, 3.9%)
CIE-LABlab(91.04, -7.15, 44.00)
CIE-LCHlch(91.04, 44.58, 99.23°)
OKLaboklab(92.03% -0.0194 0.1071)
OKLCHoklch(92.03% 0.109 100.3)
XYZxyz(71.2676, 78.5801, 37.7935)
Luminance0.7858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E790 #909EF5
analogous
#F5B590 #F5E790 #D1F590
triadic
#F5E790 #90F5E7 #E790F5
tetradic
#F5E790 #90F5B5 #909EF5 #F590D1
square
#F5E790 #90F5B5 #909EF5 #F590D1
split-complementary
#F5E790 #90D1F5 #B590F5
monochromatic
#EBCF20 #F0DB58 #F5E790 #FAF3C8 #FCF9E3

Accessibility & contrast

On white

1.26
#F5E790 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.72
#F5E790 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E790
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E790#FFFFFF#000000##000000
##F5E7901.001.2616.7216.72
#FFFFFF1.261.0021.0021.00
#00000016.7221.001.001.00
##00000016.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E289
Deuteranopia (green-blind)
#FAE893
Tritanopia (blue-blind)
#FFDCD2
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f5e790;
/* rgb */ color: rgb(245, 231, 144);
/* oklch */ color: oklch(92.0% 0.109 100.3);
Tailwind
colors: {
  custom: {
    50: '#faeeb1',
    500: '#f5e790',
    950: '#000000',
  },
}
SCSS
$custom: #f5e790;
$custom-light: #faeeb1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e790",
  "rgb": {
    "r": 245,
    "g": 231,
    "b": 144
  },
  "hsl": {
    "h": 51.683,
    "s": 83.471,
    "l": 76.275
  },
  "oklch": {
    "l": 0.92032,
    "c": 0.10882,
    "h": 100.3
  },
  "luminance": 0.78578
}

Semantic roles & 50–950 ramp

primary
#F5E790
secondary
#5668D3
accent
#24E006
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F5E790

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

Preview Lab → · Contrast checker → · Palette generator →

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