#CDBD5F#CDBD5F

#CDBD5F is a light, moderate yellow. Relative luminance 0.502; OKLCH L 79.3% C 0.117 H 99.8°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#CDBD5F
RGBrgb(205, 189, 95)
HSLhsl(51, 52%, 59%)
HSVhsv(51, 54%, 80%)
CMYKcmyk(0%, 7.8%, 53.7%, 19.6%)
CIE-LABlab(76.19, -6.42, 48.94)
CIE-LCHlch(76.19, 49.36, 97.47°)
OKLaboklab(79.26% -0.0199 0.115)
OKLCHoklch(79.26% 0.117 99.8)
XYZxyz(45.4415, 50.2023, 18.1206)
Luminance0.5020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBD5F #5F6FCD
analogous
#CD865F #CDBD5F #A6CD5F
triadic
#CDBD5F #5FCDBD #BD5FCD
tetradic
#CDBD5F #5FCD86 #5F6FCD #CD5FA6
square
#CDBD5F #5FCD86 #5F6FCD #CD5FA6
split-complementary
#CDBD5F #5FA6CD #865FCD
monochromatic
#877A2A #B6A439 #CDBD5F #DCD08E #EAE3BC

Accessibility & contrast

On white

1.90
#CDBD5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#CDBD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBD5F
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBD5F#FFFFFF#000000##000000
##CDBD5F1.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdbd5f;
/* rgb */ color: rgb(205, 189, 95);
/* oklch */ color: oklch(79.3% 0.117 99.8);
Tailwind
colors: {
  custom: {
    50: '#ded08f',
    500: '#cdbd5f',
    950: '#000000',
  },
}
SCSS
$custom: #cdbd5f;
$custom-light: #ded08f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbd5f",
  "rgb": {
    "r": 205,
    "g": 189,
    "b": 95
  },
  "hsl": {
    "h": 51.273,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.79257,
    "c": 0.11672,
    "h": 99.8
  },
  "luminance": 0.50201
}

Semantic roles & 50–950 ramp

primary
#CDBD5F
secondary
#424D8E
accent
#61DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDBD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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