#F5E484#F5E484

#F5E484 is a very light, moderate yellow. Relative luminance 0.766; OKLCH L 91.3% C 0.119 H 99.5°. Best body text is #000000 at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#F5E484
RGBrgb(245, 228, 132)
HSLhsl(51, 85%, 74%)
HSVhsv(51, 46%, 96%)
CMYKcmyk(0%, 6.9%, 46.1%, 3.9%)
CIE-LABlab(90.12, -6.82, 48.71)
CIE-LCHlch(90.12, 49.18, 97.98°)
OKLaboklab(91.25% -0.0195 0.117)
OKLCHoklch(91.25% 0.119 99.5)
XYZxyz(69.5663, 76.5676, 32.9399)
Luminance0.7657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E484 #8495F5
analogous
#F5AC84 #F5E484 #CEF584
triadic
#F5E484 #84F5E4 #E484F5
tetradic
#F5E484 #84F5AC #8495F5 #F584CE
square
#F5E484 #84F5AC #8495F5 #F584CE
split-complementary
#F5E484 #84CEF5 #AC84F5
monochromatic
#EBCB13 #F0D84B #F5E484 #FAF0BD #FDF9E3

Accessibility & contrast

On white

1.29
#F5E484 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.31
#F5E484 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E484
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E484#FFFFFF#000000##000000
##F5E4841.001.2916.3116.31
#FFFFFF1.291.0021.0021.00
#00000016.3121.001.001.00
##00000016.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DF7C
Deuteranopia (green-blind)
#F9E688
Tritanopia (blue-blind)
#FFD8CD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f5e484;
/* rgb */ color: rgb(245, 228, 132);
/* oklch */ color: oklch(91.3% 0.119 99.5);
Tailwind
colors: {
  custom: {
    50: '#faeca9',
    500: '#f5e484',
    950: '#000000',
  },
}
SCSS
$custom: #f5e484;
$custom-light: #faeca9;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e484",
  "rgb": {
    "r": 245,
    "g": 228,
    "b": 132
  },
  "hsl": {
    "h": 50.973,
    "s": 84.962,
    "l": 73.922
  },
  "oklch": {
    "l": 0.9125,
    "c": 0.11857,
    "h": 99.5
  },
  "luminance": 0.76565
}

Semantic roles & 50–950 ramp

primary
#F5E484
secondary
#4C60D1
accent
#25E104
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F5E484

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

Preview Lab → · Contrast checker → · Palette generator →

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