#CDBA5B#CDBA5B

#CDBA5B is a light, moderate yellow. Relative luminance 0.489; OKLCH L 78.6% C 0.118 H 98.2°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#CDBA5B
RGBrgb(205, 186, 91)
HSLhsl(50, 53%, 58%)
HSVhsv(50, 56%, 80%)
CMYKcmyk(0%, 9.3%, 55.6%, 19.6%)
CIE-LABlab(75.36, -5.18, 49.88)
CIE-LCHlch(75.36, 50.15, 95.93°)
OKLaboklab(78.58% -0.0168 0.1166)
OKLCHoklch(78.58% 0.118 98.2)
XYZxyz(44.6257, 48.8541, 16.9746)
Luminance0.4885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA5B #5B6ECD
analogous
#CD815B #CDBA5B #A7CD5B
triadic
#CDBA5B #5BCDBA #BA5BCD
tetradic
#CDBA5B #5BCD81 #5B6ECD #CD5BA7
square
#CDBA5B #5BCD81 #5B6ECD #CD5BA7
split-complementary
#CDBA5B #5BA7CD #815BCD
monochromatic
#857629 #B49F37 #CDBA5B #DBCE8A #EAE1B9

Accessibility & contrast

On white

1.95
#CDBA5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#CDBA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA5B
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA5B#FFFFFF#000000##000000
##CDBA5B1.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB652
Deuteranopia (green-blind)
#CFBD5F
Tritanopia (blue-blind)
#DBAEA5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdba5b;
/* rgb */ color: rgb(205, 186, 91);
/* oklch */ color: oklch(78.6% 0.118 98.2);
Tailwind
colors: {
  custom: {
    50: '#dfce8c',
    500: '#cdba5b',
    950: '#000000',
  },
}
SCSS
$custom: #cdba5b;
$custom-light: #dfce8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba5b",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 91
  },
  "hsl": {
    "h": 50,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.78583,
    "c": 0.11781,
    "h": 98.2
  },
  "luminance": 0.48852
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDBA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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