#CDAF3A#CDAF3A

#CDAF3A is a light, vivid yellow. Relative luminance 0.439; OKLCH L 76.0% C 0.136 H 94.3°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#CDAF3A
RGBrgb(205, 175, 58)
HSLhsl(48, 60%, 52%)
HSVhsv(48, 72%, 80%)
CMYKcmyk(0%, 14.6%, 71.7%, 19.6%)
CIE-LABlab(72.19, -1.52, 60.90)
CIE-LCHlch(72.19, 60.91, 91.43°)
OKLaboklab(75.98% -0.0101 0.1352)
OKLCHoklch(75.98% 0.136 94.3)
XYZxyz(41.2727, 43.9469, 10.3108)
Luminance0.4395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAF3A #3A58CD
analogous
#CD663A #CDAF3A #A2CD3A
triadic
#CDAF3A #3ACDAF #AF3ACD
tetradic
#CDAF3A #3ACD66 #3A58CD #CD3AA2
square
#CDAF3A #3ACD66 #3A58CD #CD3AA2
split-complementary
#CDAF3A #3AA2CD #663ACD
monochromatic
#705F1C #A18829 #CDAF3A #D9C36B #E6D79C

Accessibility & contrast

On white

2.15
#CDAF3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#CDAF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAF3A
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAF3A#FFFFFF#000000##000000
##CDAF3A1.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC28
Deuteranopia (green-blind)
#C9B541
Tritanopia (blue-blind)
#DDA198
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cdaf3a;
/* rgb */ color: rgb(205, 175, 58);
/* oklch */ color: oklch(76.0% 0.136 94.3);
Tailwind
colors: {
  custom: {
    50: '#e0c677',
    500: '#cdaf3a',
    950: '#000000',
  },
}
SCSS
$custom: #cdaf3a;
$custom-light: #e0c677;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaf3a",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 47.755,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75984,
    "c": 0.13561,
    "h": 94.3
  },
  "luminance": 0.43945
}

Semantic roles & 50–950 ramp

primary
#CDAF3A
secondary
#919ED2
accent
#65E345
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CDAF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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