#CDB55A#CDB55A

#CDB55A is a light, moderate yellow. Relative luminance 0.468; OKLCH L 77.5% C 0.115 H 94.8°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#CDB55A
RGBrgb(205, 181, 90)
HSLhsl(47, 53%, 58%)
HSVhsv(47, 56%, 80%)
CMYKcmyk(0%, 11.7%, 56.1%, 19.6%)
CIE-LABlab(74.04, -2.65, 48.82)
CIE-LCHlch(74.04, 48.89, 93.10°)
OKLaboklab(77.54% -0.0096 0.1142)
OKLCHoklch(77.54% 0.115 94.8)
XYZxyz(43.5479, 46.7671, 16.4040)
Luminance0.4677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB55A #5A72CD
analogous
#CD7B5A #CDB55A #ACCD5A
triadic
#CDB55A #5ACDB5 #B55ACD
tetradic
#CDB55A #5ACD7B #5A72CD #CD5AAC
square
#CDB55A #5ACD7B #5A72CD #CD5AAC
split-complementary
#CDB55A #5AACCD #7B5ACD
monochromatic
#847128 #B39936 #CDB55A #DBCA89 #E9DFB8

Accessibility & contrast

On white

2.03
#CDB55A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#CDB55A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB55A
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB55A#FFFFFF#000000##000000
##CDB55A1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B251
Deuteranopia (green-blind)
#CBB95E
Tritanopia (blue-blind)
#DCA9A0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cdb55a;
/* rgb */ color: rgb(205, 181, 90);
/* oklch */ color: oklch(77.5% 0.115 94.8);
Tailwind
colors: {
  custom: {
    50: '#dfca8b',
    500: '#cdb55a',
    950: '#000000',
  },
}
SCSS
$custom: #cdb55a;
$custom-light: #dfca8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb55a",
  "rgb": {
    "r": 205,
    "g": 181,
    "b": 90
  },
  "hsl": {
    "h": 47.478,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.77535,
    "c": 0.11462,
    "h": 94.8
  },
  "luminance": 0.46765
}

Semantic roles & 50–950 ramp

primary
#CDB55A
secondary
#AAB4D8
accent
#69DD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CDB55A

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

Preview Lab → · Contrast checker → · Palette generator →

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