#CDB43B#CDB43B

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

Color values

HEX#CDB43B
RGBrgb(205, 180, 59)
HSLhsl(50, 59%, 52%)
HSVhsv(50, 71%, 80%)
CMYKcmyk(0%, 12.2%, 71.2%, 19.6%)
CIE-LABlab(73.51, -4.09, 61.81)
CIE-LCHlch(73.51, 61.94, 93.79°)
OKLaboklab(77.03% -0.0174 0.1373)
OKLCHoklch(77.03% 0.138 97.2)
XYZxyz(42.2896, 45.9396, 10.7765)
Luminance0.4594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB43B #3B54CD
analogous
#CD6B3B #CDB43B #9DCD3B
triadic
#CDB43B #3BCDB4 #B43BCD
tetradic
#CDB43B #3BCD6B #3B54CD #CD3B9D
square
#CDB43B #3BCD6B #3B54CD #CD3B9D
split-complementary
#CDB43B #3B9DCD #6B3BCD
monochromatic
#71621D #A28D29 #CDB43B #D9C76C #E6D99D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB43B#FFFFFF#000000##000000
##CDB43B1.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)
#C6B028
Deuteranopia (green-blind)
#CCB842
Tritanopia (blue-blind)
#DDA69C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cdb43b;
/* rgb */ color: rgb(205, 180, 59);
/* oklch */ color: oklch(77.0% 0.138 97.2);
Tailwind
colors: {
  custom: {
    50: '#e0ca78',
    500: '#cdb43b',
    950: '#000000',
  },
}
SCSS
$custom: #cdb43b;
$custom-light: #e0ca78;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb43b",
  "rgb": {
    "r": 205,
    "g": 180,
    "b": 59
  },
  "hsl": {
    "h": 49.726,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.77025,
    "c": 0.13843,
    "h": 97.2
  },
  "luminance": 0.45937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDB43B

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

Preview Lab → · Contrast checker → · Palette generator →

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