#CDBE5B#CDBE5B

#CDBE5B is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.4% C 0.121 H 100.8°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#CDBE5B
RGBrgb(205, 190, 91)
HSLhsl(52, 53%, 58%)
HSVhsv(52, 56%, 80%)
CMYKcmyk(0%, 7.3%, 55.6%, 19.6%)
CIE-LABlab(76.41, -7.26, 51.09)
CIE-LCHlch(76.41, 51.61, 98.08°)
OKLaboklab(79.42% -0.0227 0.1192)
OKLCHoklch(79.42% 0.121 100.8)
XYZxyz(45.4802, 50.5631, 17.2595)
Luminance0.5056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBE5B #5B6ACD
analogous
#CD855B #CDBE5B #A3CD5B
triadic
#CDBE5B #5BCDBE #BE5BCD
tetradic
#CDBE5B #5BCD85 #5B6ACD #CD5BA3
square
#CDBE5B #5BCD85 #5B6ACD #CD5BA3
split-complementary
#CDBE5B #5BA3CD #855BCD
monochromatic
#857929 #B4A337 #CDBE5B #DBD18A #EAE3B9

Accessibility & contrast

On white

1.89
#CDBE5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#CDBE5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBE5B
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBE5B#FFFFFF#000000##000000
##CDBE5B1.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB951
Deuteranopia (green-blind)
#D2BF60
Tritanopia (blue-blind)
#DBB2A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cdbe5b;
/* rgb */ color: rgb(205, 190, 91);
/* oklch */ color: oklch(79.4% 0.121 100.8);
Tailwind
colors: {
  custom: {
    50: '#dfd18c',
    500: '#cdbe5b',
    950: '#000000',
  },
}
SCSS
$custom: #cdbe5b;
$custom-light: #dfd18c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbe5b",
  "rgb": {
    "r": 205,
    "g": 190,
    "b": 91
  },
  "hsl": {
    "h": 52.105,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79418,
    "c": 0.12139,
    "h": 100.8
  },
  "luminance": 0.50561
}

Semantic roles & 50–950 ramp

primary
#CDBE5B
secondary
#404A8C
accent
#5EDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDBE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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