#CDAF3D#CDAF3D

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

Color values

HEX#CDAF3D
RGBrgb(205, 175, 61)
HSLhsl(48, 59%, 52%)
HSVhsv(48, 70%, 80%)
CMYKcmyk(0%, 14.6%, 70.2%, 19.6%)
CIE-LABlab(72.21, -1.37, 59.73)
CIE-LCHlch(72.21, 59.74, 91.31°)
OKLaboklab(76.01% -0.0093 0.1333)
OKLCHoklch(76.01% 0.134 94)
XYZxyz(41.3512, 43.9783, 10.7246)
Luminance0.4398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAF3D #3D5BCD
analogous
#CD673D #CDAF3D #A3CD3D
triadic
#CDAF3D #3DCDAF #AF3DCD
tetradic
#CDAF3D #3DCD67 #3D5BCD #CD3DA3
square
#CDAF3D #3DCD67 #3D5BCD #CD3DA3
split-complementary
#CDAF3D #3DA3CD #673DCD
monochromatic
#72611D #A38A2A #CDAF3D #DAC36E #E6D79E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDAF3D#FFFFFF#000000##000000
##CDAF3D1.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)
#C1AC2D
Deuteranopia (green-blind)
#C9B543
Tritanopia (blue-blind)
#DDA198
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cdaf3d;
/* rgb */ color: rgb(205, 175, 61);
/* oklch */ color: oklch(76.0% 0.134 94.0);
Tailwind
colors: {
  custom: {
    50: '#e0c679',
    500: '#cdaf3d',
    950: '#000000',
  },
}
SCSS
$custom: #cdaf3d;
$custom-light: #e0c679;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaf3d",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 61
  },
  "hsl": {
    "h": 47.5,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76007,
    "c": 0.13363,
    "h": 94
  },
  "luminance": 0.43976
}

Semantic roles & 50–950 ramp

primary
#CDAF3D
secondary
#93A1D2
accent
#66E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CDAF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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