#CDB95B#CDB95B

#CDB95B is a light, moderate yellow. Relative luminance 0.484; OKLCH L 78.4% C 0.117 H 97.5°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#CDB95B
RGBrgb(205, 185, 91)
HSLhsl(49, 53%, 58%)
HSVhsv(49, 56%, 80%)
CMYKcmyk(0%, 9.8%, 55.6%, 19.6%)
CIE-LABlab(75.10, -4.66, 49.57)
CIE-LCHlch(75.10, 49.79, 95.37°)
OKLaboklab(78.38% -0.0153 0.116)
OKLCHoklch(78.38% 0.117 97.5)
XYZxyz(44.4158, 48.4343, 16.9047)
Luminance0.4843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB95B #5B6FCD
analogous
#CD805B #CDB95B #A8CD5B
triadic
#CDB95B #5BCDB9 #B95BCD
tetradic
#CDB95B #5BCD80 #5B6FCD #CD5BA8
square
#CDB95B #5BCD80 #5B6FCD #CD5BA8
split-complementary
#CDB95B #5BA8CD #805BCD
monochromatic
#857529 #B49E37 #CDB95B #DBCD8A #EAE1B9

Accessibility & contrast

On white

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

On black

10.69
#CDB95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB95B
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB95B#FFFFFF#000000##000000
##CDB95B1.001.9710.6910.69
#FFFFFF1.971.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B552
Deuteranopia (green-blind)
#CEBC5F
Tritanopia (blue-blind)
#DBADA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdb95b;
/* rgb */ color: rgb(205, 185, 91);
/* oklch */ color: oklch(78.4% 0.117 97.5);
Tailwind
colors: {
  custom: {
    50: '#dfcd8c',
    500: '#cdb95b',
    950: '#000000',
  },
}
SCSS
$custom: #cdb95b;
$custom-light: #dfcd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb95b",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 91
  },
  "hsl": {
    "h": 49.474,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.78375,
    "c": 0.11696,
    "h": 97.5
  },
  "luminance": 0.48432
}

Semantic roles & 50–950 ramp

primary
#CDB95B
secondary
#ABB3D9
accent
#65DD4B
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CDB95B

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

Preview Lab → · Contrast checker → · Palette generator →

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