#CDB74C#CDB74C

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

Color values

HEX#CDB74C
RGBrgb(205, 183, 76)
HSLhsl(50, 56%, 55%)
HSVhsv(50, 63%, 80%)
CMYKcmyk(0%, 10.7%, 62.9%, 19.6%)
CIE-LABlab(74.43, -4.69, 55.71)
CIE-LCHlch(74.43, 55.90, 94.82°)
OKLaboklab(77.8% -0.0171 0.1272)
OKLCHoklch(77.8% 0.128 97.7)
XYZxyz(43.4167, 47.3699, 13.6925)
Luminance0.4737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB74C #4C62CD
analogous
#CD764C #CDB74C #A3CD4C
triadic
#CDB74C #4CCDB7 #B74CCD
tetradic
#CDB74C #4CCD76 #4C62CD #CD4CA3
square
#CDB74C #4CCD76 #4C62CD #CD4CA3
split-complementary
#CDB74C #4CA3CD #764CCD
monochromatic
#7C6D23 #AC9730 #CDB74C #DACA7C #E8DDAC

Accessibility & contrast

On white

2.01
#CDB74C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#CDB74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB74C
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB74C#FFFFFF#000000##000000
##CDB74C1.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdb74c;
/* rgb */ color: rgb(205, 183, 76);
/* oklch */ color: oklch(77.8% 0.128 97.7);
Tailwind
colors: {
  custom: {
    50: '#dfcc82',
    500: '#cdb74c',
    950: '#000000',
  },
}
SCSS
$custom: #cdb74c;
$custom-light: #dfcc82;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb74c",
  "rgb": {
    "r": 205,
    "g": 183,
    "b": 76
  },
  "hsl": {
    "h": 49.767,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77796,
    "c": 0.12836,
    "h": 97.7
  },
  "luminance": 0.47368
}

Semantic roles & 50–950 ramp

primary
#CDB74C
secondary
#9FA9D5
accent
#62E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB74C

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

Preview Lab → · Contrast checker → · Palette generator →

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