#CDAF45#CDAF45

#CDAF45 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 76.1% C 0.128 H 93.2°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#CDAF45
RGBrgb(205, 175, 69)
HSLhsl(47, 58%, 54%)
HSVhsv(47, 66%, 80%)
CMYKcmyk(0%, 14.6%, 66.3%, 19.6%)
CIE-LABlab(72.28, -0.93, 56.46)
CIE-LCHlch(72.28, 56.46, 90.94°)
OKLaboklab(76.08% -0.0071 0.1277)
OKLCHoklch(76.08% 0.128 93.2)
XYZxyz(41.5830, 44.0710, 11.9454)
Luminance0.4407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAF45 #4563CD
analogous
#CD6B45 #CDAF45 #A7CD45
triadic
#CDAF45 #45CDAF #AF45CD
tetradic
#CDAF45 #45CD6B #4563CD #CD45A7
square
#CDAF45 #45CD6B #4563CD #CD45A7
split-complementary
#CDAF45 #45A7CD #6B45CD
monochromatic
#776420 #A88D2D #CDAF45 #DAC475 #E7D8A5

Accessibility & contrast

On white

2.14
#CDAF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#CDAF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAF45
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAF45#FFFFFF#000000##000000
##CDAF451.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC38
Deuteranopia (green-blind)
#C8B54A
Tritanopia (blue-blind)
#DDA299
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cdaf45;
/* rgb */ color: rgb(205, 175, 69);
/* oklch */ color: oklch(76.1% 0.128 93.2);
Tailwind
colors: {
  custom: {
    50: '#e0c67e',
    500: '#cdaf45',
    950: '#000000',
  },
}
SCSS
$custom: #cdaf45;
$custom-light: #e0c67e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaf45",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 46.765,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76076,
    "c": 0.12793,
    "h": 93.2
  },
  "luminance": 0.44069
}

Semantic roles & 50–950 ramp

primary
#CDAF45
secondary
#9AA7D4
accent
#69E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDAF45

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

Preview Lab → · Contrast checker → · Palette generator →

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