#CDB73B#CDB73B

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

Color values

HEX#CDB73B
RGBrgb(205, 183, 59)
HSLhsl(51, 59%, 52%)
HSVhsv(51, 71%, 80%)
CMYKcmyk(0%, 10.7%, 71.2%, 19.6%)
CIE-LABlab(74.29, -5.66, 62.59)
CIE-LCHlch(74.29, 62.84, 95.16°)
OKLaboklab(77.65% -0.0218 0.139)
OKLCHoklch(77.65% 0.141 98.9)
XYZxyz(42.9018, 47.1640, 10.9806)
Luminance0.4716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB73B #3B51CD
analogous
#CD6E3B #CDB73B #9ACD3B
triadic
#CDB73B #3BCDB7 #B73BCD
tetradic
#CDB73B #3BCD6E #3B51CD #CD3B9A
square
#CDB73B #3BCD6E #3B51CD #CD3B9A
split-complementary
#CDB73B #3B9ACD #6E3BCD
monochromatic
#71641D #A28F29 #CDB73B #D9C96C #E6DB9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB73B#FFFFFF#000000##000000
##CDB73B1.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)
#C9B228
Deuteranopia (green-blind)
#CFBA43
Tritanopia (blue-blind)
#DDA99E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cdb73b;
/* rgb */ color: rgb(205, 183, 59);
/* oklch */ color: oklch(77.6% 0.141 98.9);
Tailwind
colors: {
  custom: {
    50: '#e0cc79',
    500: '#cdb73b',
    950: '#000000',
  },
}
SCSS
$custom: #cdb73b;
$custom-light: #e0cc79;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb73b",
  "rgb": {
    "r": 205,
    "g": 183,
    "b": 59
  },
  "hsl": {
    "h": 50.959,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.7765,
    "c": 0.14069,
    "h": 98.9
  },
  "luminance": 0.47162
}

Semantic roles & 50–950 ramp

primary
#CDB73B
secondary
#929CD2
accent
#5DE345
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CDB73B

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

Preview Lab → · Contrast checker → · Palette generator →

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