#CDB32D#CDB32D

#CDB32D is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.7% C 0.146 H 97.5°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#CDB32D
RGBrgb(205, 179, 45)
HSLhsl(50, 64%, 49%)
HSVhsv(50, 78%, 80%)
CMYKcmyk(0%, 12.7%, 78%, 19.6%)
CIE-LABlab(73.16, -4.17, 66.45)
CIE-LCHlch(73.16, 66.58, 93.59°)
OKLaboklab(76.73% -0.019 0.1445)
OKLCHoklch(76.73% 0.146 97.5)
XYZxyz(41.7728, 45.4110, 9.0470)
Luminance0.4541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB32D #2D47CD
analogous
#CD632D #CDB32D #97CD2D
triadic
#CDB32D #2DCDB3 #B32DCD
tetradic
#CDB32D #2DCD63 #2D47CD #CD2D97
square
#CDB32D #2DCD63 #2D47CD #CD2D97
split-complementary
#CDB32D #2D97CD #632DCD
monochromatic
#695B17 #9B8722 #CDB32D #DBC75C #E6D88E

Accessibility & contrast

On white

2.08
#CDB32D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#CDB32D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB32D
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB32D#FFFFFF#000000##000000
##CDB32D1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF0C
Deuteranopia (green-blind)
#CCB737
Tritanopia (blue-blind)
#DEA59A
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cdb32d;
/* rgb */ color: rgb(205, 179, 45);
/* oklch */ color: oklch(76.7% 0.146 97.5);
Tailwind
colors: {
  custom: {
    50: '#e1c971',
    500: '#cdb32d',
    950: '#000000',
  },
}
SCSS
$custom: #cdb32d;
$custom-light: #e1c971;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb32d",
  "rgb": {
    "r": 205,
    "g": 179,
    "b": 45
  },
  "hsl": {
    "h": 50.25,
    "s": 64,
    "l": 49.02
  },
  "oklch": {
    "l": 0.76726,
    "c": 0.14578,
    "h": 97.5
  },
  "luminance": 0.45409
}

Semantic roles & 50–950 ramp

primary
#CDB32D
secondary
#8591D1
accent
#5CE741
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #CDB32D

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

Preview Lab → · Contrast checker → · Palette generator →

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