#CDAF3C#CDAF3C

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

Color values

HEX#CDAF3C
RGBrgb(205, 175, 60)
HSLhsl(48, 59%, 52%)
HSVhsv(48, 71%, 80%)
CMYKcmyk(0%, 14.6%, 70.7%, 19.6%)
CIE-LABlab(72.21, -1.42, 60.12)
CIE-LCHlch(72.21, 60.14, 91.35°)
OKLaboklab(76% -0.0096 0.134)
OKLCHoklch(76% 0.134 94.1)
XYZxyz(41.3246, 43.9676, 10.5840)
Luminance0.4396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAF3C #3C5ACD
analogous
#CD673C #CDAF3C #A3CD3C
triadic
#CDAF3C #3CCDAF #AF3CCD
tetradic
#CDAF3C #3CCD67 #3C5ACD #CD3CA3
square
#CDAF3C #3CCD67 #3C5ACD #CD3CA3
split-complementary
#CDAF3C #3CA3CD #673CCD
monochromatic
#71601D #A2892A #CDAF3C #D9C36D #E6D79D

Accessibility & contrast

On white

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

On black

9.79
#CDAF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAF3C
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAF3C#FFFFFF#000000##000000
##CDAF3C1.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdaf3c;
/* rgb */ color: rgb(205, 175, 60);
/* oklch */ color: oklch(76.0% 0.134 94.1);
Tailwind
colors: {
  custom: {
    50: '#e0c678',
    500: '#cdaf3c',
    950: '#000000',
  },
}
SCSS
$custom: #cdaf3c;
$custom-light: #e0c678;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaf3c",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 47.586,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75999,
    "c": 0.13429,
    "h": 94.1
  },
  "luminance": 0.43965
}

Semantic roles & 50–950 ramp

primary
#CDAF3C
secondary
#93A0D2
accent
#66E245
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CDAF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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