#F5D952#F5D952

#F5D952 is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.5% C 0.153 H 97.4°. Best body text is #000000 at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#F5D952
RGBrgb(245, 217, 82)
HSLhsl(50, 89%, 64%)
HSVhsv(50, 67%, 96%)
CMYKcmyk(0%, 11.4%, 66.5%, 3.9%)
CIE-LABlab(86.83, -4.98, 67.41)
CIE-LCHlch(86.83, 67.59, 94.22°)
OKLaboklab(88.48% -0.0197 0.1518)
OKLCHoklch(88.48% 0.153 97.4)
XYZxyz(63.9950, 69.6505, 18.0541)
Luminance0.6965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D952 #526EF5
analogous
#F58852 #F5D952 #C0F552
triadic
#F5D952 #52F5D9 #D952F5
tetradic
#F5D952 #52F588 #526EF5 #F552C0
square
#F5D952 #52F588 #526EF5 #F552C0
split-complementary
#F5D952 #52C0F5 #8852F5
monochromatic
#C1A20B #F2CC18 #F5D952 #F8E68C #FCF2C6

Accessibility & contrast

On white

1.41
#F5D952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.93
#F5D952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D952
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D952#FFFFFF#000000##000000
##F5D9521.001.4114.9314.93
#FFFFFF1.411.0021.0021.00
#00000014.9321.001.001.00
##00000014.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED440
Deuteranopia (green-blind)
#F5DD59
Tritanopia (blue-blind)
#FFC9BD
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f5d952;
/* rgb */ color: rgb(245, 217, 82);
/* oklch */ color: oklch(88.5% 0.153 97.4);
Tailwind
colors: {
  custom: {
    50: '#fce489',
    500: '#f5d952',
    950: '#000000',
  },
}
SCSS
$custom: #f5d952;
$custom-light: #fce489;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d952",
  "rgb": {
    "r": 245,
    "g": 217,
    "b": 82
  },
  "hsl": {
    "h": 49.693,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.88476,
    "c": 0.15303,
    "h": 97.4
  },
  "luminance": 0.69647
}

Semantic roles & 50–950 ramp

primary
#F5D952
secondary
#2C45BF
accent
#27E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5D952

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

Preview Lab → · Contrast checker → · Palette generator →

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