#CDAB3F#CDAB3F

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

Color values

HEX#CDAB3F
RGBrgb(205, 171, 63)
HSLhsl(46, 59%, 53%)
HSVhsv(46, 69%, 80%)
CMYKcmyk(0%, 16.6%, 69.3%, 19.6%)
CIE-LABlab(71.19, 0.86, 57.87)
CIE-LCHlch(71.19, 57.88, 89.15°)
OKLaboklab(75.2% -0.0027 0.1297)
OKLCHoklch(75.2% 0.13 91.2)
XYZxyz(40.6391, 42.4662, 10.7579)
Luminance0.4246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAB3F #3F61CD
analogous
#CD643F #CDAB3F #A8CD3F
triadic
#CDAB3F #3FCDAB #AB3FCD
tetradic
#CDAB3F #3FCD64 #3F61CD #CD3FA8
square
#CDAB3F #3FCD64 #3F61CD #CD3FA8
split-complementary
#CDAB3F #3FA8CD #643FCD
monochromatic
#745F1E #A4872B #CDAB3F #DAC070 #E6D5A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDAB3F#FFFFFF#000000##000000
##CDAB3F1.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)
#BDA931
Deuteranopia (green-blind)
#C6B244
Tritanopia (blue-blind)
#DD9D95
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cdab3f;
/* rgb */ color: rgb(205, 171, 63);
/* oklch */ color: oklch(75.2% 0.130 91.2);
Tailwind
colors: {
  custom: {
    50: '#e0c37a',
    500: '#cdab3f',
    950: '#000000',
  },
}
SCSS
$custom: #cdab3f;
$custom-light: #e0c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdab3f",
  "rgb": {
    "r": 205,
    "g": 171,
    "b": 63
  },
  "hsl": {
    "h": 45.634,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75204,
    "c": 0.12975,
    "h": 91.2
  },
  "luminance": 0.42464
}

Semantic roles & 50–950 ramp

primary
#CDAB3F
secondary
#95A4D3
accent
#6BE246
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CDAB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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