#CDAB3C#CDAB3C

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

Color values

HEX#CDAB3C
RGBrgb(205, 171, 60)
HSLhsl(46, 59%, 52%)
HSVhsv(46, 71%, 80%)
CMYKcmyk(0%, 16.6%, 70.7%, 19.6%)
CIE-LABlab(71.17, 0.70, 59.08)
CIE-LCHlch(71.17, 59.08, 89.32°)
OKLaboklab(75.18% -0.0035 0.1318)
OKLCHoklch(75.18% 0.132 91.5)
XYZxyz(40.5575, 42.4336, 10.3284)
Luminance0.4243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAB3C #3C5ECD
analogous
#CD633C #CDAB3C #A7CD3C
triadic
#CDAB3C #3CCDAB #AB3CCD
tetradic
#CDAB3C #3CCD63 #3C5ECD #CD3CA7
square
#CDAB3C #3CCD63 #3C5ECD #CD3CA7
split-complementary
#CDAB3C #3CA7CD #633CCD
monochromatic
#715E1D #A2862A #CDAB3C #D9C06D #E6D59D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDAB3C#FFFFFF#000000##000000
##CDAB3C1.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)
#BEA92C
Deuteranopia (green-blind)
#C6B242
Tritanopia (blue-blind)
#DE9D94
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cdab3c;
/* rgb */ color: rgb(205, 171, 60);
/* oklch */ color: oklch(75.2% 0.132 91.5);
Tailwind
colors: {
  custom: {
    50: '#e0c378',
    500: '#cdab3c',
    950: '#000000',
  },
}
SCSS
$custom: #cdab3c;
$custom-light: #e0c378;
$custom-dark: #000000;
JSON
{
  "hex": "#cdab3c",
  "rgb": {
    "r": 205,
    "g": 171,
    "b": 60
  },
  "hsl": {
    "h": 45.931,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75179,
    "c": 0.1318,
    "h": 91.5
  },
  "luminance": 0.42431
}

Semantic roles & 50–950 ramp

primary
#CDAB3C
secondary
#93A2D2
accent
#6AE245
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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