#CDB12D#CDB12D

#CDB12D is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.3% C 0.144 H 96.4°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#CDB12D
RGBrgb(205, 177, 45)
HSLhsl(50, 64%, 49%)
HSVhsv(50, 78%, 80%)
CMYKcmyk(0%, 13.7%, 78%, 19.6%)
CIE-LABlab(72.64, -3.12, 65.98)
CIE-LCHlch(72.64, 66.05, 92.71°)
OKLaboklab(76.31% -0.016 0.1435)
OKLCHoklch(76.31% 0.144 96.4)
XYZxyz(41.3749, 44.6152, 8.9144)
Luminance0.4461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB12D #2D49CD
analogous
#CD612D #CDB12D #99CD2D
triadic
#CDB12D #2DCDB1 #B12DCD
tetradic
#CDB12D #2DCD61 #2D49CD #CD2D99
square
#CDB12D #2DCD61 #2D49CD #CD2D99
split-complementary
#CDB12D #2D99CD #612DCD
monochromatic
#695A17 #9B8622 #CDB12D #DBC55C #E6D78E

Accessibility & contrast

On white

2.12
#CDB12D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#CDB12D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB12D
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB12D#FFFFFF#000000##000000
##CDB12D1.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD0D
Deuteranopia (green-blind)
#CBB636
Tritanopia (blue-blind)
#DEA398
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cdb12d;
/* rgb */ color: rgb(205, 177, 45);
/* oklch */ color: oklch(76.3% 0.144 96.4);
Tailwind
colors: {
  custom: {
    50: '#e1c771',
    500: '#cdb12d',
    950: '#000000',
  },
}
SCSS
$custom: #cdb12d;
$custom-light: #e1c771;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb12d",
  "rgb": {
    "r": 205,
    "g": 177,
    "b": 45
  },
  "hsl": {
    "h": 49.5,
    "s": 64,
    "l": 49.02
  },
  "oklch": {
    "l": 0.76311,
    "c": 0.14441,
    "h": 96.4
  },
  "luminance": 0.44613
}

Semantic roles & 50–950 ramp

primary
#CDB12D
secondary
#8592D1
accent
#5EE741
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #CDB12D

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

Preview Lab → · Contrast checker → · Palette generator →

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