#CDB73C#CDB73C

#CDB73C is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.7% C 0.140 H 98.9°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#CDB73C
RGBrgb(205, 183, 60)
HSLhsl(51, 59%, 52%)
HSVhsv(51, 71%, 80%)
CMYKcmyk(0%, 10.7%, 70.7%, 19.6%)
CIE-LABlab(74.30, -5.61, 62.21)
CIE-LCHlch(74.30, 62.46, 95.15°)
OKLaboklab(77.66% -0.0216 0.1384)
OKLCHoklch(77.66% 0.14 98.9)
XYZxyz(42.9280, 47.1744, 11.1185)
Luminance0.4717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB73C #3C52CD
analogous
#CD6F3C #CDB73C #9ACD3C
triadic
#CDB73C #3CCDB7 #B73CCD
tetradic
#CDB73C #3CCD6F #3C52CD #CD3C9A
square
#CDB73C #3CCD6F #3C52CD #CD3C9A
split-complementary
#CDB73C #3C9ACD #6F3CCD
monochromatic
#71651D #A2902A #CDB73C #D9C96D #E6DB9D

Accessibility & contrast

On white

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

On black

10.43
#CDB73C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB73C
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB73C#FFFFFF#000000##000000
##CDB73C1.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B229
Deuteranopia (green-blind)
#CFBA43
Tritanopia (blue-blind)
#DDAA9E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cdb73c;
/* rgb */ color: rgb(205, 183, 60);
/* oklch */ color: oklch(77.7% 0.140 98.9);
Tailwind
colors: {
  custom: {
    50: '#e0cc79',
    500: '#cdb73c',
    950: '#000000',
  },
}
SCSS
$custom: #cdb73c;
$custom-light: #e0cc79;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb73c",
  "rgb": {
    "r": 205,
    "g": 183,
    "b": 60
  },
  "hsl": {
    "h": 50.897,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77657,
    "c": 0.14004,
    "h": 98.9
  },
  "luminance": 0.47172
}

Semantic roles & 50–950 ramp

primary
#CDB73C
secondary
#939CD2
accent
#5DE245
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB73C

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

Preview Lab → · Contrast checker → · Palette generator →

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