#CDB952#CDB952

#CDB952 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.3% C 0.125 H 98.4°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#CDB952
RGBrgb(205, 185, 82)
HSLhsl(50, 55%, 56%)
HSVhsv(50, 60%, 80%)
CMYKcmyk(0%, 9.8%, 60%, 19.6%)
CIE-LABlab(75.01, -5.33, 53.66)
CIE-LCHlch(75.01, 53.92, 95.67°)
OKLaboklab(78.27% -0.0183 0.1237)
OKLCHoklch(78.27% 0.125 98.4)
XYZxyz(44.0505, 48.2882, 14.9812)
Luminance0.4829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB952 #5266CD
analogous
#CD7C52 #CDB952 #A4CD52
triadic
#CDB952 #52CDB9 #B952CD
tetradic
#CDB952 #52CD7C #5266CD #CD52A4
square
#CDB952 #52CD7C #5266CD #CD52A4
split-complementary
#CDB952 #52A4CD #7C52CD
monochromatic
#807125 #AF9B33 #CDB952 #DBCC81 #E8DFB1

Accessibility & contrast

On white

1.97
#CDB952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#CDB952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB952
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB952#FFFFFF#000000##000000
##CDB9521.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B547
Deuteranopia (green-blind)
#CFBC57
Tritanopia (blue-blind)
#DCADA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdb952;
/* rgb */ color: rgb(205, 185, 82);
/* oklch */ color: oklch(78.3% 0.125 98.4);
Tailwind
colors: {
  custom: {
    50: '#dfcd86',
    500: '#cdb952',
    950: '#000000',
  },
}
SCSS
$custom: #cdb952;
$custom-light: #dfcd86;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb952",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 82
  },
  "hsl": {
    "h": 50.244,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78273,
    "c": 0.125,
    "h": 98.4
  },
  "luminance": 0.48286
}

Semantic roles & 50–950 ramp

primary
#CDB952
secondary
#A4ACD7
accent
#62DE49
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB952

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

Preview Lab → · Contrast checker → · Palette generator →

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