#CDB33B#CDB33B

#CDB33B is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.8% C 0.138 H 96.6°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#CDB33B
RGBrgb(205, 179, 59)
HSLhsl(49, 59%, 52%)
HSVhsv(49, 71%, 80%)
CMYKcmyk(0%, 12.7%, 71.2%, 19.6%)
CIE-LABlab(73.24, -3.57, 61.55)
CIE-LCHlch(73.24, 61.65, 93.32°)
OKLaboklab(76.82% -0.0159 0.1368)
OKLCHoklch(76.82% 0.138 96.6)
XYZxyz(42.0884, 45.5373, 10.7095)
Luminance0.4553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB33B #3B55CD
analogous
#CD6A3B #CDB33B #9ECD3B
triadic
#CDB33B #3BCDB3 #B33BCD
tetradic
#CDB33B #3BCD6A #3B55CD #CD3B9E
square
#CDB33B #3BCD6A #3B55CD #CD3B9E
split-complementary
#CDB33B #3B9ECD #6A3BCD
monochromatic
#71621D #A28C29 #CDB33B #D9C66C #E6D99D

Accessibility & contrast

On white

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

On black

10.11
#CDB33B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB33B
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB33B#FFFFFF#000000##000000
##CDB33B1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF29
Deuteranopia (green-blind)
#CCB742
Tritanopia (blue-blind)
#DDA59B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cdb33b;
/* rgb */ color: rgb(205, 179, 59);
/* oklch */ color: oklch(76.8% 0.138 96.6);
Tailwind
colors: {
  custom: {
    50: '#e0c978',
    500: '#cdb33b',
    950: '#000000',
  },
}
SCSS
$custom: #cdb33b;
$custom-light: #e0c978;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb33b",
  "rgb": {
    "r": 205,
    "g": 179,
    "b": 59
  },
  "hsl": {
    "h": 49.315,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76818,
    "c": 0.13771,
    "h": 96.6
  },
  "luminance": 0.45535
}

Semantic roles & 50–950 ramp

primary
#CDB33B
secondary
#929DD2
accent
#61E345
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CDB33B

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

Preview Lab → · Contrast checker → · Palette generator →

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