#CDAF47#CDAF47

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

Color values

HEX#CDAF47
RGBrgb(205, 175, 71)
HSLhsl(47, 57%, 54%)
HSVhsv(47, 65%, 80%)
CMYKcmyk(0%, 14.6%, 65.4%, 19.6%)
CIE-LABlab(72.29, -0.81, 55.61)
CIE-LCHlch(72.29, 55.61, 90.83°)
OKLaboklab(76.1% -0.0066 0.1263)
OKLCHoklch(76.1% 0.126 93)
XYZxyz(41.6462, 44.0963, 12.2778)
Luminance0.4409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAF47 #4765CD
analogous
#CD6C47 #CDAF47 #A8CD47
triadic
#CDAF47 #47CDAF #AF47CD
tetradic
#CDAF47 #47CD6C #4765CD #CD47A8
square
#CDAF47 #47CD6C #4765CD #CD47A8
split-complementary
#CDAF47 #47A8CD #6C47CD
monochromatic
#796521 #A98D2E #CDAF47 #DAC477 #E7D9A7

Accessibility & contrast

On white

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

On black

9.82
#CDAF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAF47
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAF47#FFFFFF#000000##000000
##CDAF471.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdaf47;
/* rgb */ color: rgb(205, 175, 71);
/* oklch */ color: oklch(76.1% 0.126 93.0);
Tailwind
colors: {
  custom: {
    50: '#e0c67f',
    500: '#cdaf47',
    950: '#000000',
  },
}
SCSS
$custom: #cdaf47;
$custom-light: #e0c67f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaf47",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 71
  },
  "hsl": {
    "h": 46.567,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76095,
    "c": 0.12642,
    "h": 93
  },
  "luminance": 0.44094
}

Semantic roles & 50–950 ramp

primary
#CDAF47
secondary
#9BA8D4
accent
#6AE147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDAF47

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

Preview Lab → · Contrast checker → · Palette generator →

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