#CDB43C#CDB43C

#CDB43C is a light, vivid yellow. Relative luminance 0.459; OKLCH L 77.0% C 0.138 H 97.1°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#CDB43C
RGBrgb(205, 180, 60)
HSLhsl(50, 59%, 52%)
HSVhsv(50, 71%, 80%)
CMYKcmyk(0%, 12.2%, 70.7%, 19.6%)
CIE-LABlab(73.51, -4.04, 61.43)
CIE-LCHlch(73.51, 61.56, 93.77°)
OKLaboklab(77.03% -0.0171 0.1367)
OKLCHoklch(77.03% 0.138 97.1)
XYZxyz(42.3158, 45.9501, 10.9144)
Luminance0.4595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB43C #3C55CD
analogous
#CD6C3C #CDB43C #9ECD3C
triadic
#CDB43C #3CCDB4 #B43CCD
tetradic
#CDB43C #3CCD6C #3C55CD #CD3C9E
square
#CDB43C #3CCD6C #3C55CD #CD3C9E
split-complementary
#CDB43C #3C9ECD #6C3CCD
monochromatic
#71631D #A28D2A #CDB43C #D9C76D #E6D99D

Accessibility & contrast

On white

2.06
#CDB43C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#CDB43C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB43C
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB43C#FFFFFF#000000##000000
##CDB43C1.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B02A
Deuteranopia (green-blind)
#CCB843
Tritanopia (blue-blind)
#DDA69C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cdb43c;
/* rgb */ color: rgb(205, 180, 60);
/* oklch */ color: oklch(77.0% 0.138 97.1);
Tailwind
colors: {
  custom: {
    50: '#e0ca79',
    500: '#cdb43c',
    950: '#000000',
  },
}
SCSS
$custom: #cdb43c;
$custom-light: #e0ca79;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb43c",
  "rgb": {
    "r": 205,
    "g": 180,
    "b": 60
  },
  "hsl": {
    "h": 49.655,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77033,
    "c": 0.13779,
    "h": 97.1
  },
  "luminance": 0.45948
}

Semantic roles & 50–950 ramp

primary
#CDB43C
secondary
#939ED2
accent
#60E245
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CDB43C

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

Preview Lab → · Contrast checker → · Palette generator →

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