#CDAF33#CDAF33

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

Color values

HEX#CDAF33
RGBrgb(205, 175, 51)
HSLhsl(48, 61%, 50%)
HSVhsv(48, 75%, 80%)
CMYKcmyk(0%, 14.6%, 75.1%, 19.6%)
CIE-LABlab(72.15, -1.83, 63.47)
CIE-LCHlch(72.15, 63.50, 91.65°)
OKLaboklab(75.93% -0.0118 0.1394)
OKLCHoklch(75.93% 0.14 94.8)
XYZxyz(41.1066, 43.8804, 9.4359)
Luminance0.4388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAF33 #3351CD
analogous
#CD6233 #CDAF33 #9ECD33
triadic
#CDAF33 #33CDAF #AF33CD
tetradic
#CDAF33 #33CD62 #3351CD #CD339E
square
#CDAF33 #33CD62 #3351CD #CD339E
split-complementary
#CDAF33 #339ECD #6233CD
monochromatic
#6B5C1A #9C8526 #CDAF33 #D9C264 #E5D695

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDAF33#FFFFFF#000000##000000
##CDAF331.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)
#C2AC1C
Deuteranopia (green-blind)
#C9B53B
Tritanopia (blue-blind)
#DEA197
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cdaf33;
/* rgb */ color: rgb(205, 175, 51);
/* oklch */ color: oklch(75.9% 0.140 94.8);
Tailwind
colors: {
  custom: {
    50: '#e0c674',
    500: '#cdaf33',
    950: '#000000',
  },
}
SCSS
$custom: #cdaf33;
$custom-light: #e0c674;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaf33",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 51
  },
  "hsl": {
    "h": 48.312,
    "s": 60.63,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75934,
    "c": 0.13986,
    "h": 94.8
  },
  "luminance": 0.43878
}

Semantic roles & 50–950 ramp

primary
#CDAF33
secondary
#8B99D0
accent
#63E444
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAF33

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

Preview Lab → · Contrast checker → · Palette generator →

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