#CDAF35#CDAF35

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

Color values

HEX#CDAF35
RGBrgb(205, 175, 53)
HSLhsl(48, 60%, 51%)
HSVhsv(48, 74%, 80%)
CMYKcmyk(0%, 14.6%, 74.1%, 19.6%)
CIE-LABlab(72.16, -1.75, 62.76)
CIE-LCHlch(72.16, 62.78, 91.59°)
OKLaboklab(75.95% -0.0113 0.1382)
OKLCHoklch(75.95% 0.139 94.7)
XYZxyz(41.1516, 43.8984, 9.6732)
Luminance0.4390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAF35 #3553CD
analogous
#CD6335 #CDAF35 #9FCD35
triadic
#CDAF35 #35CDAF #AF35CD
tetradic
#CDAF35 #35CD63 #3553CD #CD359F
square
#CDAF35 #35CD63 #3553CD #CD359F
split-complementary
#CDAF35 #359FCD #6335CD
monochromatic
#6D5D1B #9E8627 #CDAF35 #D9C266 #E5D697

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDAF35#FFFFFF#000000##000000
##CDAF351.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)
#C2AC20
Deuteranopia (green-blind)
#C9B53C
Tritanopia (blue-blind)
#DEA197
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cdaf35;
/* rgb */ color: rgb(205, 175, 53);
/* oklch */ color: oklch(75.9% 0.139 94.7);
Tailwind
colors: {
  custom: {
    50: '#e0c675',
    500: '#cdaf35',
    950: '#000000',
  },
}
SCSS
$custom: #cdaf35;
$custom-light: #e0c675;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaf35",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 53
  },
  "hsl": {
    "h": 48.158,
    "s": 60.317,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75948,
    "c": 0.13869,
    "h": 94.7
  },
  "luminance": 0.43896
}

Semantic roles & 50–950 ramp

primary
#CDAF35
secondary
#8D9AD1
accent
#64E344
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CDAF35

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

Preview Lab → · Contrast checker → · Palette generator →

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