#CDAB3D#CDAB3D

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

Color values

HEX#CDAB3D
RGBrgb(205, 171, 61)
HSLhsl(46, 59%, 52%)
HSVhsv(46, 70%, 80%)
CMYKcmyk(0%, 16.6%, 70.2%, 19.6%)
CIE-LABlab(71.18, 0.75, 58.68)
CIE-LCHlch(71.18, 58.68, 89.27°)
OKLaboklab(75.19% -0.0033 0.1311)
OKLCHoklch(75.19% 0.131 91.4)
XYZxyz(40.5842, 42.4443, 10.4689)
Luminance0.4244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAB3D #3D5FCD
analogous
#CD633D #CDAB3D #A7CD3D
triadic
#CDAB3D #3DCDAB #AB3DCD
tetradic
#CDAB3D #3DCD63 #3D5FCD #CD3DA7
square
#CDAB3D #3DCD63 #3D5FCD #CD3DA7
split-complementary
#CDAB3D #3DA7CD #633DCD
monochromatic
#725E1D #A3862A #CDAB3D #DAC06E #E6D59E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDAB3D#FFFFFF#000000##000000
##CDAB3D1.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)
#BEA92E
Deuteranopia (green-blind)
#C6B243
Tritanopia (blue-blind)
#DE9D95
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cdab3d;
/* rgb */ color: rgb(205, 171, 61);
/* oklch */ color: oklch(75.2% 0.131 91.4);
Tailwind
colors: {
  custom: {
    50: '#e0c379',
    500: '#cdab3d',
    950: '#000000',
  },
}
SCSS
$custom: #cdab3d;
$custom-light: #e0c379;
$custom-dark: #000000;
JSON
{
  "hex": "#cdab3d",
  "rgb": {
    "r": 205,
    "g": 171,
    "b": 61
  },
  "hsl": {
    "h": 45.833,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75188,
    "c": 0.13112,
    "h": 91.4
  },
  "luminance": 0.42442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDAB3D

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

Preview Lab → · Contrast checker → · Palette generator →

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