#CDAF3F#CDAF3F

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

Color values

HEX#CDAF3F
RGBrgb(205, 175, 63)
HSLhsl(47, 59%, 53%)
HSVhsv(47, 69%, 80%)
CMYKcmyk(0%, 14.6%, 69.3%, 19.6%)
CIE-LABlab(72.23, -1.26, 58.93)
CIE-LCHlch(72.23, 58.95, 91.23°)
OKLaboklab(76.02% -0.0088 0.132)
OKLCHoklch(76.02% 0.132 93.8)
XYZxyz(41.4061, 44.0002, 11.0136)
Luminance0.4400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAF3F #3F5DCD
analogous
#CD683F #CDAF3F #A4CD3F
triadic
#CDAF3F #3FCDAF #AF3FCD
tetradic
#CDAF3F #3FCD68 #3F5DCD #CD3FA4
square
#CDAF3F #3FCD68 #3F5DCD #CD3FA4
split-complementary
#CDAF3F #3FA4CD #683FCD
monochromatic
#74611E #A48A2B #CDAF3F #DAC370 #E6D7A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDAF3F#FFFFFF#000000##000000
##CDAF3F1.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)
#C1AC30
Deuteranopia (green-blind)
#C9B545
Tritanopia (blue-blind)
#DDA198
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cdaf3f;
/* rgb */ color: rgb(205, 175, 63);
/* oklch */ color: oklch(76.0% 0.132 93.8);
Tailwind
colors: {
  custom: {
    50: '#e0c67a',
    500: '#cdaf3f',
    950: '#000000',
  },
}
SCSS
$custom: #cdaf3f;
$custom-light: #e0c67a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaf3f",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 63
  },
  "hsl": {
    "h": 47.324,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.76023,
    "c": 0.13226,
    "h": 93.8
  },
  "luminance": 0.43998
}

Semantic roles & 50–950 ramp

primary
#CDAF3F
secondary
#95A2D3
accent
#67E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDAF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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