#CDBB4E#CDBB4E

#CDBB4E is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.6% C 0.130 H 100.0°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#CDBB4E
RGBrgb(205, 187, 78)
HSLhsl(51, 56%, 55%)
HSVhsv(51, 62%, 80%)
CMYKcmyk(0%, 8.8%, 62%, 19.6%)
CIE-LABlab(75.50, -6.64, 55.99)
CIE-LCHlch(75.50, 56.38, 96.77°)
OKLaboklab(78.65% -0.0225 0.1281)
OKLCHoklch(78.65% 0.13 100)
XYZxyz(44.3241, 49.0717, 14.3433)
Luminance0.4907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBB4E #4E60CD
analogous
#CD7B4E #CDBB4E #9FCD4E
triadic
#CDBB4E #4ECDBB #BB4ECD
tetradic
#CDBB4E #4ECD7B #4E60CD #CD4E9F
square
#CDBB4E #4ECD7B #4E60CD #CD4E9F
split-complementary
#CDBB4E #4E9FCD #7B4ECD
monochromatic
#7D7023 #AD9B31 #CDBB4E #DACD7E #E8E0AD

Accessibility & contrast

On white

1.94
#CDBB4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#CDBB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBB4E
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBB4E#FFFFFF#000000##000000
##CDBB4E1.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB642
Deuteranopia (green-blind)
#D1BD54
Tritanopia (blue-blind)
#DCAEA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdbb4e;
/* rgb */ color: rgb(205, 187, 78);
/* oklch */ color: oklch(78.6% 0.130 100.0);
Tailwind
colors: {
  custom: {
    50: '#dfcf84',
    500: '#cdbb4e',
    950: '#000000',
  },
}
SCSS
$custom: #cdbb4e;
$custom-light: #dfcf84;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbb4e",
  "rgb": {
    "r": 205,
    "g": 187,
    "b": 78
  },
  "hsl": {
    "h": 51.496,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78649,
    "c": 0.13005,
    "h": 100
  },
  "luminance": 0.4907
}

Semantic roles & 50–950 ramp

primary
#CDBB4E
secondary
#A1A8D6
accent
#5EDF49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDBB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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