#F5D672#F5D672

#F5D672 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 88.2% C 0.125 H 92.5°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#F5D672
RGBrgb(245, 214, 114)
HSLhsl(46, 87%, 70%)
HSVhsv(46, 53%, 96%)
CMYKcmyk(0%, 12.7%, 53.5%, 3.9%)
CIE-LABlab(86.37, -1.30, 52.78)
CIE-LCHlch(86.37, 52.80, 91.41°)
OKLaboklab(88.21% -0.0054 0.1245)
OKLCHoklch(88.21% 0.125 92.5)
XYZxyz(64.7425, 68.7235, 25.7711)
Luminance0.6872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D672 #7291F5
analogous
#F59572 #F5D672 #D2F572
triadic
#F5D672 #72F5D6 #D672F5
tetradic
#F5D672 #72F595 #7291F5 #F572D2
square
#F5D672 #72F595 #7291F5 #F572D2
split-complementary
#F5D672 #72D2F5 #9572F5
monochromatic
#DDAC10 #F1C539 #F5D672 #F9E7AB #FDF7E2

Accessibility & contrast

On white

1.42
#F5D672 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.74
#F5D672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D672
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D672#FFFFFF#000000##000000
##F5D6721.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D369
Deuteranopia (green-blind)
#F1DC76
Tritanopia (blue-blind)
#FFC8BF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f5d672;
/* rgb */ color: rgb(245, 214, 114);
/* oklch */ color: oklch(88.2% 0.125 92.5);
Tailwind
colors: {
  custom: {
    50: '#fbe29d',
    500: '#f5d672',
    950: '#000000',
  },
}
SCSS
$custom: #f5d672;
$custom-light: #fbe29d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d672",
  "rgb": {
    "r": 245,
    "g": 214,
    "b": 114
  },
  "hsl": {
    "h": 45.802,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.8821,
    "c": 0.12461,
    "h": 92.5
  },
  "luminance": 0.68721
}

Semantic roles & 50–950 ramp

primary
#F5D672
secondary
#3C5FCF
accent
#37E302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5D672

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

Preview Lab → · Contrast checker → · Palette generator →

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