#F5D96F#F5D96F

#F5D96F is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.8% C 0.130 H 94.8°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#F5D96F
RGBrgb(245, 217, 111)
HSLhsl(47, 87%, 70%)
HSVhsv(47, 55%, 96%)
CMYKcmyk(0%, 11.4%, 54.7%, 3.9%)
CIE-LABlab(87.09, -3.07, 55.04)
CIE-LCHlch(87.09, 55.13, 93.19°)
OKLaboklab(88.77% -0.0108 0.1291)
OKLCHoklch(88.77% 0.13 94.8)
XYZxyz(65.3408, 70.1888, 25.1419)
Luminance0.7019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D96F #6F8BF5
analogous
#F5966F #F5D96F #CEF56F
triadic
#F5D96F #6FF5D9 #D96FF5
tetradic
#F5D96F #6FF596 #6F8BF5 #F56FCE
square
#F5D96F #6FF596 #6F8BF5 #F56FCE
split-complementary
#F5D96F #6FCEF5 #966FF5
monochromatic
#DAB00F #F1CA36 #F5D96F #F9E8A8 #FDF7E1

Accessibility & contrast

On white

1.40
#F5D96F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.04
#F5D96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D96F
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D96F#FFFFFF#000000##000000
##F5D96F1.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD565
Deuteranopia (green-blind)
#F3DE73
Tritanopia (blue-blind)
#FFCBC1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f5d96f;
/* rgb */ color: rgb(245, 217, 111);
/* oklch */ color: oklch(88.8% 0.130 94.8);
Tailwind
colors: {
  custom: {
    50: '#fbe49b',
    500: '#f5d96f',
    950: '#000000',
  },
}
SCSS
$custom: #f5d96f;
$custom-light: #fbe49b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d96f",
  "rgb": {
    "r": 245,
    "g": 217,
    "b": 111
  },
  "hsl": {
    "h": 47.463,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.8877,
    "c": 0.12958,
    "h": 94.8
  },
  "luminance": 0.70186
}

Semantic roles & 50–950 ramp

primary
#F5D96F
secondary
#3959CF
accent
#31E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5D96F

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

Preview Lab → · Contrast checker → · Palette generator →

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