#CDB94B#CDB94B

#CDB94B is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.2% C 0.131 H 99.0°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#CDB94B
RGBrgb(205, 185, 75)
HSLhsl(51, 57%, 55%)
HSVhsv(51, 63%, 80%)
CMYKcmyk(0%, 9.8%, 63.4%, 19.6%)
CIE-LABlab(74.94, -5.80, 56.70)
CIE-LCHlch(74.94, 57.00, 95.84°)
OKLaboklab(78.2% -0.0204 0.1292)
OKLCHoklch(78.2% 0.131 99)
XYZxyz(43.7976, 48.1870, 13.6493)
Luminance0.4819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB94B #4B5FCD
analogous
#CD784B #CDB94B #A0CD4B
triadic
#CDB94B #4BCDB9 #B94BCD
tetradic
#CDB94B #4BCD78 #4B5FCD #CD4BA0
square
#CDB94B #4BCD78 #4B5FCD #CD4BA0
split-complementary
#CDB94B #4BA0CD #784BCD
monochromatic
#7B6E22 #AB9830 #CDB94B #DACC7B #E8DEAB

Accessibility & contrast

On white

1.97
#CDB94B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#CDB94B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB94B
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB94B#FFFFFF#000000##000000
##CDB94B1.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB43E
Deuteranopia (green-blind)
#CFBC51
Tritanopia (blue-blind)
#DCACA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cdb94b;
/* rgb */ color: rgb(205, 185, 75);
/* oklch */ color: oklch(78.2% 0.131 99.0);
Tailwind
colors: {
  custom: {
    50: '#dfcd82',
    500: '#cdb94b',
    950: '#000000',
  },
}
SCSS
$custom: #cdb94b;
$custom-light: #dfcd82;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb94b",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 75
  },
  "hsl": {
    "h": 50.769,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78202,
    "c": 0.13078,
    "h": 99
  },
  "luminance": 0.48185
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDB94B

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

Preview Lab → · Contrast checker → · Palette generator →

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