#CDAB3E#CDAB3E

#CDAB3E is a light, vivid yellow. Relative luminance 0.425; OKLCH L 75.2% C 0.130 H 91.3°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#CDAB3E
RGBrgb(205, 171, 62)
HSLhsl(46, 59%, 52%)
HSVhsv(46, 70%, 80%)
CMYKcmyk(0%, 16.6%, 69.8%, 19.6%)
CIE-LABlab(71.18, 0.80, 58.28)
CIE-LCHlch(71.18, 58.28, 89.21°)
OKLaboklab(75.2% -0.003 0.1304)
OKLCHoklch(75.2% 0.13 91.3)
XYZxyz(40.6114, 42.4551, 10.6121)
Luminance0.4245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAB3E #3E60CD
analogous
#CD633E #CDAB3E #A8CD3E
triadic
#CDAB3E #3ECDAB #AB3ECD
tetradic
#CDAB3E #3ECD63 #3E60CD #CD3EA8
square
#CDAB3E #3ECD63 #3E60CD #CD3EA8
split-complementary
#CDAB3E #3EA8CD #633ECD
monochromatic
#735F1E #A3872A #CDAB3E #DAC06F #E6D59F

Accessibility & contrast

On white

2.21
#CDAB3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#CDAB3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAB3E
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAB3E#FFFFFF#000000##000000
##CDAB3E1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA92F
Deuteranopia (green-blind)
#C6B243
Tritanopia (blue-blind)
#DD9D95
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cdab3e;
/* rgb */ color: rgb(205, 171, 62);
/* oklch */ color: oklch(75.2% 0.130 91.3);
Tailwind
colors: {
  custom: {
    50: '#e0c379',
    500: '#cdab3e',
    950: '#000000',
  },
}
SCSS
$custom: #cdab3e;
$custom-light: #e0c379;
$custom-dark: #000000;
JSON
{
  "hex": "#cdab3e",
  "rgb": {
    "r": 205,
    "g": 171,
    "b": 62
  },
  "hsl": {
    "h": 45.734,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.75196,
    "c": 0.13044,
    "h": 91.3
  },
  "luminance": 0.42453
}

Semantic roles & 50–950 ramp

primary
#CDAB3E
secondary
#94A3D3
accent
#6BE246
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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