#CDBA4B#CDBA4B

#CDBA4B is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.4% C 0.132 H 99.6°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#CDBA4B
RGBrgb(205, 186, 75)
HSLhsl(51, 57%, 55%)
HSVhsv(51, 63%, 80%)
CMYKcmyk(0%, 9.3%, 63.4%, 19.6%)
CIE-LABlab(75.21, -6.32, 56.99)
CIE-LCHlch(75.21, 57.34, 96.33°)
OKLaboklab(78.41% -0.0219 0.1298)
OKLCHoklch(78.41% 0.132 99.6)
XYZxyz(44.0076, 48.6069, 13.7193)
Luminance0.4860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA4B #4B5ECD
analogous
#CD794B #CDBA4B #9FCD4B
triadic
#CDBA4B #4BCDBA #BA4BCD
tetradic
#CDBA4B #4BCD79 #4B5ECD #CD4B9F
square
#CDBA4B #4BCD79 #4B5ECD #CD4B9F
split-complementary
#CDBA4B #4B9FCD #794BCD
monochromatic
#7B6E22 #AB9930 #CDBA4B #DACC7B #E8DFAB

Accessibility & contrast

On white

1.96
#CDBA4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#CDBA4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA4B
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA4B#FFFFFF#000000##000000
##CDBA4B1.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB53E
Deuteranopia (green-blind)
#D0BC51
Tritanopia (blue-blind)
#DCADA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdba4b;
/* rgb */ color: rgb(205, 186, 75);
/* oklch */ color: oklch(78.4% 0.132 99.6);
Tailwind
colors: {
  custom: {
    50: '#dfce82',
    500: '#cdba4b',
    950: '#000000',
  },
}
SCSS
$custom: #cdba4b;
$custom-light: #dfce82;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba4b",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 75
  },
  "hsl": {
    "h": 51.231,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78411,
    "c": 0.13161,
    "h": 99.6
  },
  "luminance": 0.48605
}

Semantic roles & 50–950 ramp

primary
#CDBA4B
secondary
#9FA7D5
accent
#5EE048
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDBA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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