#CDB95A#CDB95A

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

Color values

HEX#CDB95A
RGBrgb(205, 185, 90)
HSLhsl(50, 53%, 58%)
HSVhsv(50, 56%, 80%)
CMYKcmyk(0%, 9.8%, 56.1%, 19.6%)
CIE-LABlab(75.09, -4.74, 50.03)
CIE-LCHlch(75.09, 50.26, 95.41°)
OKLaboklab(78.36% -0.0156 0.1169)
OKLCHoklch(78.36% 0.118 97.6)
XYZxyz(44.3729, 48.4171, 16.6790)
Luminance0.4842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB95A #5A6ECD
analogous
#CD7F5A #CDB95A #A7CD5A
triadic
#CDB95A #5ACDB9 #B95ACD
tetradic
#CDB95A #5ACD7F #5A6ECD #CD5AA7
square
#CDB95A #5ACD7F #5A6ECD #CD5AA7
split-complementary
#CDB95A #5AA7CD #7F5ACD
monochromatic
#847428 #B39E36 #CDB95A #DBCD89 #E9E1B8

Accessibility & contrast

On white

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

On black

10.68
#CDB95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB95A
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB95A#FFFFFF#000000##000000
##CDB95A1.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdb95a;
/* rgb */ color: rgb(205, 185, 90);
/* oklch */ color: oklch(78.4% 0.118 97.6);
Tailwind
colors: {
  custom: {
    50: '#dfcd8b',
    500: '#cdb95a',
    950: '#000000',
  },
}
SCSS
$custom: #cdb95a;
$custom-light: #dfcd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb95a",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 90
  },
  "hsl": {
    "h": 49.565,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.78363,
    "c": 0.11789,
    "h": 97.6
  },
  "luminance": 0.48415
}

Semantic roles & 50–950 ramp

primary
#CDB95A
secondary
#AAB2D8
accent
#64DD4B
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CDB95A

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

Preview Lab → · Contrast checker → · Palette generator →

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