#CDB85B#CDB85B

#CDB85B is a light, moderate yellow. Relative luminance 0.480; OKLCH L 78.2% C 0.116 H 96.8°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#CDB85B
RGBrgb(205, 184, 91)
HSLhsl(49, 53%, 58%)
HSVhsv(49, 56%, 80%)
CMYKcmyk(0%, 10.2%, 55.6%, 19.6%)
CIE-LABlab(74.84, -4.14, 49.27)
CIE-LCHlch(74.84, 49.44, 94.80°)
OKLaboklab(78.17% -0.0138 0.1153)
OKLCHoklch(78.17% 0.116 96.8)
XYZxyz(44.2073, 48.0173, 16.8352)
Luminance0.4802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB85B #5B70CD
analogous
#CD7F5B #CDB85B #A9CD5B
triadic
#CDB85B #5BCDB8 #B85BCD
tetradic
#CDB85B #5BCD7F #5B70CD #CD5BA9
square
#CDB85B #5BCD7F #5B70CD #CD5BA9
split-complementary
#CDB85B #5BA9CD #7F5BCD
monochromatic
#857429 #B49D37 #CDB85B #DBCC8A #EAE1B9

Accessibility & contrast

On white

1.98
#CDB85B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#CDB85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB85B
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB85B#FFFFFF#000000##000000
##CDB85B1.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B452
Deuteranopia (green-blind)
#CDBB5F
Tritanopia (blue-blind)
#DBACA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cdb85b;
/* rgb */ color: rgb(205, 184, 91);
/* oklch */ color: oklch(78.2% 0.116 96.8);
Tailwind
colors: {
  custom: {
    50: '#dfcd8c',
    500: '#cdb85b',
    950: '#000000',
  },
}
SCSS
$custom: #cdb85b;
$custom-light: #dfcd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb85b",
  "rgb": {
    "r": 205,
    "g": 184,
    "b": 91
  },
  "hsl": {
    "h": 48.947,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.78168,
    "c": 0.11612,
    "h": 96.8
  },
  "luminance": 0.48015
}

Semantic roles & 50–950 ramp

primary
#CDB85B
secondary
#ABB4D9
accent
#66DD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CDB85B

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

Preview Lab → · Contrast checker → · Palette generator →

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