#CDB55F#CDB55F

#CDB55F is a light, moderate yellow. Relative luminance 0.469; OKLCH L 77.6% C 0.110 H 94.1°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#CDB55F
RGBrgb(205, 181, 95)
HSLhsl(47, 52%, 59%)
HSVhsv(47, 54%, 80%)
CMYKcmyk(0%, 11.7%, 53.7%, 19.6%)
CIE-LABlab(74.10, -2.24, 46.47)
CIE-LCHlch(74.10, 46.52, 92.76°)
OKLaboklab(77.6% -0.0078 0.1096)
OKLCHoklch(77.6% 0.11 94.1)
XYZxyz(43.7679, 46.8551, 17.5628)
Luminance0.4685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB55F #5F77CD
analogous
#CD7E5F #CDB55F #AECD5F
triadic
#CDB55F #5FCDB5 #B55FCD
tetradic
#CDB55F #5FCD7E #5F77CD #CD5FAE
square
#CDB55F #5FCD7E #5F77CD #CD5FAE
split-complementary
#CDB55F #5FAECD #7E5FCD
monochromatic
#87732A #B69B39 #CDB55F #DCCB8E #EAE0BC

Accessibility & contrast

On white

2.02
#CDB55F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#CDB55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB55F
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB55F#FFFFFF#000000##000000
##CDB55F1.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B257
Deuteranopia (green-blind)
#CBB963
Tritanopia (blue-blind)
#DBA9A1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cdb55f;
/* rgb */ color: rgb(205, 181, 95);
/* oklch */ color: oklch(77.6% 0.110 94.1);
Tailwind
colors: {
  custom: {
    50: '#dfca8e',
    500: '#cdb55f',
    950: '#000000',
  },
}
SCSS
$custom: #cdb55f;
$custom-light: #dfca8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb55f",
  "rgb": {
    "r": 205,
    "g": 181,
    "b": 95
  },
  "hsl": {
    "h": 46.909,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.77598,
    "c": 0.1099,
    "h": 94.1
  },
  "luminance": 0.46853
}

Semantic roles & 50–950 ramp

primary
#CDB55F
secondary
#AEB8DA
accent
#6BDC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CDB55F

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

Preview Lab → · Contrast checker → · Palette generator →

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