#CDB954#CDB954

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

Color values

HEX#CDB954
RGBrgb(205, 185, 84)
HSLhsl(50, 55%, 57%)
HSVhsv(50, 59%, 80%)
CMYKcmyk(0%, 9.8%, 59%, 19.6%)
CIE-LABlab(75.03, -5.19, 52.76)
CIE-LCHlch(75.03, 53.02, 95.62°)
OKLaboklab(78.3% -0.0176 0.122)
OKLCHoklch(78.3% 0.123 98.2)
XYZxyz(44.1278, 48.3191, 15.3879)
Luminance0.4832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB954 #5468CD
analogous
#CD7D54 #CDB954 #A4CD54
triadic
#CDB954 #54CDB9 #B954CD
tetradic
#CDB954 #54CD7D #5468CD #CD54A4
square
#CDB954 #54CD7D #5468CD #CD54A4
split-complementary
#CDB954 #54A4CD #7D54CD
monochromatic
#817226 #B09C34 #CDB954 #DBCC83 #E9E0B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB954#FFFFFF#000000##000000
##CDB9541.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)
#C9B54A
Deuteranopia (green-blind)
#CFBC59
Tritanopia (blue-blind)
#DCADA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdb954;
/* rgb */ color: rgb(205, 185, 84);
/* oklch */ color: oklch(78.3% 0.123 98.2);
Tailwind
colors: {
  custom: {
    50: '#dfcd88',
    500: '#cdb954',
    950: '#000000',
  },
}
SCSS
$custom: #cdb954;
$custom-light: #dfcd88;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb954",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 84
  },
  "hsl": {
    "h": 50.083,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.78295,
    "c": 0.12328,
    "h": 98.2
  },
  "luminance": 0.48317
}

Semantic roles & 50–950 ramp

primary
#CDB954
secondary
#A6AED7
accent
#62DE4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CDB954

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

Preview Lab → · Contrast checker → · Palette generator →

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