#CDB74D#CDB74D

#CDB74D is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.8% C 0.128 H 97.6°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#CDB74D
RGBrgb(205, 183, 77)
HSLhsl(50, 56%, 55%)
HSVhsv(50, 62%, 80%)
CMYKcmyk(0%, 10.7%, 62.4%, 19.6%)
CIE-LABlab(74.43, -4.63, 55.27)
CIE-LCHlch(74.43, 55.47, 94.79°)
OKLaboklab(77.81% -0.0168 0.1264)
OKLCHoklch(77.81% 0.128 97.6)
XYZxyz(43.4517, 47.3839, 13.8770)
Luminance0.4738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB74D #4D63CD
analogous
#CD774D #CDB74D #A3CD4D
triadic
#CDB74D #4DCDB7 #B74DCD
tetradic
#CDB74D #4DCD77 #4D63CD #CD4DA3
square
#CDB74D #4DCD77 #4D63CD #CD4DA3
split-complementary
#CDB74D #4DA3CD #774DCD
monochromatic
#7D6D23 #AC9730 #CDB74D #DACA7D #E8DEAD

Accessibility & contrast

On white

2.00
#CDB74D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#CDB74D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB74D
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB74D#FFFFFF#000000##000000
##CDB74D1.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B341
Deuteranopia (green-blind)
#CEBA52
Tritanopia (blue-blind)
#DCAAA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cdb74d;
/* rgb */ color: rgb(205, 183, 77);
/* oklch */ color: oklch(77.8% 0.128 97.6);
Tailwind
colors: {
  custom: {
    50: '#dfcc83',
    500: '#cdb74d',
    950: '#000000',
  },
}
SCSS
$custom: #cdb74d;
$custom-light: #dfcc83;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb74d",
  "rgb": {
    "r": 205,
    "g": 183,
    "b": 77
  },
  "hsl": {
    "h": 49.688,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77806,
    "c": 0.12755,
    "h": 97.6
  },
  "luminance": 0.47382
}

Semantic roles & 50–950 ramp

primary
#CDB74D
secondary
#A0A9D6
accent
#62DF48
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB74D

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

Preview Lab → · Contrast checker → · Palette generator →

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