#CDAF37#CDAF37

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

Color values

HEX#CDAF37
RGBrgb(205, 175, 55)
HSLhsl(48, 60%, 51%)
HSVhsv(48, 73%, 80%)
CMYKcmyk(0%, 14.6%, 73.2%, 19.6%)
CIE-LABlab(72.17, -1.66, 62.03)
CIE-LCHlch(72.17, 62.05, 91.53°)
OKLaboklab(75.96% -0.0108 0.1371)
OKLCHoklch(75.96% 0.137 94.5)
XYZxyz(41.1986, 43.9172, 9.9206)
Luminance0.4391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAF37 #3755CD
analogous
#CD6437 #CDAF37 #A0CD37
triadic
#CDAF37 #37CDAF #AF37CD
tetradic
#CDAF37 #37CD64 #3755CD #CD37A0
square
#CDAF37 #37CD64 #3755CD #CD37A0
split-complementary
#CDAF37 #37A0CD #6437CD
monochromatic
#6E5E1C #9F8728 #CDAF37 #D9C368 #E5D699

Accessibility & contrast

On white

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

On black

9.78
#CDAF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAF37
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAF37#FFFFFF#000000##000000
##CDAF371.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC23
Deuteranopia (green-blind)
#C9B53E
Tritanopia (blue-blind)
#DEA197
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cdaf37;
/* rgb */ color: rgb(205, 175, 55);
/* oklch */ color: oklch(76.0% 0.137 94.5);
Tailwind
colors: {
  custom: {
    50: '#e0c676',
    500: '#cdaf37',
    950: '#000000',
  },
}
SCSS
$custom: #cdaf37;
$custom-light: #e0c676;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaf37",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 48,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75962,
    "c": 0.13749,
    "h": 94.5
  },
  "luminance": 0.43915
}

Semantic roles & 50–950 ramp

primary
#CDAF37
secondary
#8F9CD1
accent
#64E345
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CDAF37

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

Preview Lab → · Contrast checker → · Palette generator →

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