#F5E382#F5E382

#F5E382 is a very light, moderate yellow. Relative luminance 0.760; OKLCH L 91.0% C 0.120 H 99.0°. Best body text is #000000 at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#F5E382
RGBrgb(245, 227, 130)
HSLhsl(51, 85%, 74%)
HSVhsv(51, 47%, 96%)
CMYKcmyk(0%, 7.3%, 46.9%, 3.9%)
CIE-LABlab(89.84, -6.51, 49.33)
CIE-LCHlch(89.84, 49.76, 97.51°)
OKLaboklab(91.02% -0.0188 0.1182)
OKLCHoklch(91.02% 0.12 99)
XYZxyz(69.1565, 75.9648, 32.1346)
Luminance0.7596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E382 #8294F5
analogous
#F5A982 #F5E382 #CDF582
triadic
#F5E382 #82F5E3 #E382F5
tetradic
#F5E382 #82F5A9 #8294F5 #F582CD
square
#F5E382 #82F5A9 #8294F5 #F582CD
split-complementary
#F5E382 #82CDF5 #A982F5
monochromatic
#EAC813 #F0D649 #F5E382 #FAF0BB #FDF9E3

Accessibility & contrast

On white

1.30
#F5E382 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.19
#F5E382 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E382
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E382#FFFFFF#000000##000000
##F5E3821.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DE7A
Deuteranopia (green-blind)
#F9E586
Tritanopia (blue-blind)
#FFD7CC
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f5e382;
/* rgb */ color: rgb(245, 227, 130);
/* oklch */ color: oklch(91.0% 0.120 99.0);
Tailwind
colors: {
  custom: {
    50: '#faeba8',
    500: '#f5e382',
    950: '#000000',
  },
}
SCSS
$custom: #f5e382;
$custom-light: #faeba8;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e382",
  "rgb": {
    "r": 245,
    "g": 227,
    "b": 130
  },
  "hsl": {
    "h": 50.609,
    "s": 85.185,
    "l": 73.529
  },
  "oklch": {
    "l": 0.91021,
    "c": 0.11968,
    "h": 99
  },
  "luminance": 0.75962
}

Semantic roles & 50–950 ramp

primary
#F5E382
secondary
#4A5FD1
accent
#27E204
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #F5E382

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

Preview Lab → · Contrast checker → · Palette generator →

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