#CDBA4D#CDBA4D

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

Color values

HEX#CDBA4D
RGBrgb(205, 186, 77)
HSLhsl(51, 56%, 55%)
HSVhsv(51, 62%, 80%)
CMYKcmyk(0%, 9.3%, 62.4%, 19.6%)
CIE-LABlab(75.22, -6.19, 56.13)
CIE-LCHlch(75.22, 56.47, 96.29°)
OKLaboklab(78.43% -0.0213 0.1283)
OKLCHoklch(78.43% 0.13 99.4)
XYZxyz(44.0771, 48.6347, 14.0854)
Luminance0.4863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA4D #4D60CD
analogous
#CD7A4D #CDBA4D #A0CD4D
triadic
#CDBA4D #4DCDBA #BA4DCD
tetradic
#CDBA4D #4DCD7A #4D60CD #CD4DA0
square
#CDBA4D #4DCD7A #4D60CD #CD4DA0
split-complementary
#CDBA4D #4DA0CD #7A4DCD
monochromatic
#7D6F23 #AC9A30 #CDBA4D #DACD7D #E8DFAD

Accessibility & contrast

On white

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

On black

10.73
#CDBA4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA4D
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA4D#FFFFFF#000000##000000
##CDBA4D1.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB541
Deuteranopia (green-blind)
#D0BC53
Tritanopia (blue-blind)
#DCADA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdba4d;
/* rgb */ color: rgb(205, 186, 77);
/* oklch */ color: oklch(78.4% 0.130 99.4);
Tailwind
colors: {
  custom: {
    50: '#dfce83',
    500: '#cdba4d',
    950: '#000000',
  },
}
SCSS
$custom: #cdba4d;
$custom-light: #dfce83;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba4d",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 77
  },
  "hsl": {
    "h": 51.094,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78431,
    "c": 0.13001,
    "h": 99.4
  },
  "luminance": 0.48633
}

Semantic roles & 50–950 ramp

primary
#CDBA4D
secondary
#A0A8D6
accent
#5FDF48
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDBA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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