#CDAF3E#CDAF3E

#CDAF3E is a light, vivid yellow. Relative luminance 0.440; OKLCH L 76.0% C 0.133 H 93.9°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#CDAF3E
RGBrgb(205, 175, 62)
HSLhsl(47, 59%, 52%)
HSVhsv(47, 70%, 80%)
CMYKcmyk(0%, 14.6%, 69.8%, 19.6%)
CIE-LABlab(72.22, -1.31, 59.33)
CIE-LCHlch(72.22, 59.35, 91.27°)
OKLaboklab(76.02% -0.0091 0.1326)
OKLCHoklch(76.02% 0.133 93.9)
XYZxyz(41.3784, 43.9892, 10.8678)
Luminance0.4399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAF3E #3E5CCD
analogous
#CD683E #CDAF3E #A3CD3E
triadic
#CDAF3E #3ECDAF #AF3ECD
tetradic
#CDAF3E #3ECD68 #3E5CCD #CD3EA3
square
#CDAF3E #3ECD68 #3E5CCD #CD3EA3
split-complementary
#CDAF3E #3EA3CD #683ECD
monochromatic
#73611E #A38A2A #CDAF3E #DAC36F #E6D79F

Accessibility & contrast

On white

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

On black

9.80
#CDAF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAF3E
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAF3E#FFFFFF#000000##000000
##CDAF3E1.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC2E
Deuteranopia (green-blind)
#C9B544
Tritanopia (blue-blind)
#DDA198
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cdaf3e;
/* rgb */ color: rgb(205, 175, 62);
/* oklch */ color: oklch(76.0% 0.133 93.9);
Tailwind
colors: {
  custom: {
    50: '#e0c67a',
    500: '#cdaf3e',
    950: '#000000',
  },
}
SCSS
$custom: #cdaf3e;
$custom-light: #e0c67a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaf3e",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 47.413,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76015,
    "c": 0.13295,
    "h": 93.9
  },
  "luminance": 0.43987
}

Semantic roles & 50–950 ramp

primary
#CDAF3E
secondary
#94A1D3
accent
#67E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDAF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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