#F5E576#F5E576

#F5E576 is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 91.3% C 0.133 H 101.2°. Best body text is #000000 at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#F5E576
RGBrgb(245, 229, 118)
HSLhsl(52, 86%, 71%)
HSVhsv(52, 52%, 96%)
CMYKcmyk(0%, 6.5%, 51.8%, 3.9%)
CIE-LABlab(90.21, -8.55, 55.46)
CIE-LCHlch(90.21, 56.11, 98.76°)
OKLaboklab(91.27% -0.0259 0.1307)
OKLCHoklch(91.27% 0.133 101.2)
XYZxyz(68.9477, 76.7616, 28.3206)
Luminance0.7676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E576 #7686F5
analogous
#F5A576 #F5E576 #C5F576
triadic
#F5E576 #76F5E5 #E576F5
tetradic
#F5E576 #76F5A5 #7686F5 #F576C5
square
#F5E576 #76F5A5 #7686F5 #F576C5
split-complementary
#F5E576 #76C5F5 #A576F5
monochromatic
#E0C610 #F1DA3D #F5E576 #F9F0AF #FDFAE2

Accessibility & contrast

On white

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

On black

16.35
#F5E576 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E576
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E576#FFFFFF#000000##000000
##F5E5761.001.2816.3516.35
#FFFFFF1.281.0021.0021.00
#00000016.3521.001.001.00
##00000016.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF6C
Deuteranopia (green-blind)
#FBE67B
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f5e576;
/* rgb */ color: rgb(245, 229, 118);
/* oklch */ color: oklch(91.3% 0.133 101.2);
Tailwind
colors: {
  custom: {
    50: '#fbeda0',
    500: '#f5e576',
    950: '#000000',
  },
}
SCSS
$custom: #f5e576;
$custom-light: #fbeda0;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e576",
  "rgb": {
    "r": 245,
    "g": 229,
    "b": 118
  },
  "hsl": {
    "h": 52.441,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91268,
    "c": 0.13324,
    "h": 101.2
  },
  "luminance": 0.76759
}

Semantic roles & 50–950 ramp

primary
#F5E576
secondary
#3F52D0
accent
#1FE303
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E576

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

Preview Lab → · Contrast checker → · Palette generator →

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