#FFD952#FFD952

#FFD952 is a very light, vivid yellow. Relative luminance 0.715; OKLCH L 89.4% C 0.154 H 93.1°. Best body text is #000000 at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#FFD952
RGBrgb(255, 217, 82)
HSLhsl(47, 100%, 66%)
HSVhsv(47, 68%, 100%)
CMYKcmyk(0%, 14.9%, 67.8%, 0%)
CIE-LABlab(87.73, -0.83, 68.62)
CIE-LCHlch(87.73, 68.63, 90.69°)
OKLaboklab(89.4% -0.0084 0.154)
OKLCHoklch(89.4% 0.154 93.1)
XYZxyz(67.5793, 71.4987, 18.2221)
Luminance0.7149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD952 #5278FF
analogous
#FF8252 #FFD952 #CEFF52
triadic
#FFD952 #52FFD9 #D952FF
tetradic
#FFD952 #52FF82 #5278FF #FF52CE
square
#FFD952 #52FF82 #5278FF #FF52CE
split-complementary
#FFD952 #52CEFF #8252FF
monochromatic
#D7A700 #FFCC15 #FFD952 #FFE68F #FFF4CC

Accessibility & contrast

On white

1.37
#FFD952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.30
#FFD952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD952
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD952#FFFFFF#000000##000000
##FFD9521.001.3715.3015.30
#FFFFFF1.371.0021.0021.00
#00000015.3021.001.001.00
##00000015.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD540
Deuteranopia (green-blind)
#F9E159
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ffd952;
/* rgb */ color: rgb(255, 217, 82);
/* oklch */ color: oklch(89.4% 0.154 93.1);
Tailwind
colors: {
  custom: {
    50: '#ffe489',
    500: '#ffd952',
    950: '#000000',
  },
}
SCSS
$custom: #ffd952;
$custom-light: #ffe489;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd952",
  "rgb": {
    "r": 255,
    "g": 217,
    "b": 82
  },
  "hsl": {
    "h": 46.821,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.89401,
    "c": 0.15424,
    "h": 93.1
  },
  "luminance": 0.71495
}

Semantic roles & 50–950 ramp

primary
#FFD952
secondary
#254AD0
accent
#32E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150C
muted
#87847F

Preview Lab

Preview with #FFD952

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

Preview Lab → · Contrast checker → · Palette generator →

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