#CDAF43#CDAF43

#CDAF43 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 76.1% C 0.129 H 93.4°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#CDAF43
RGBrgb(205, 175, 67)
HSLhsl(47, 58%, 53%)
HSVhsv(47, 67%, 80%)
CMYKcmyk(0%, 14.6%, 67.3%, 19.6%)
CIE-LABlab(72.26, -1.04, 57.29)
CIE-LCHlch(72.26, 57.30, 91.04°)
OKLaboklab(76.06% -0.0077 0.1292)
OKLCHoklch(76.06% 0.129 93.4)
XYZxyz(41.5220, 44.0466, 11.6239)
Luminance0.4404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAF43 #4361CD
analogous
#CD6A43 #CDAF43 #A6CD43
triadic
#CDAF43 #43CDAF #AF43CD
tetradic
#CDAF43 #43CD6A #4361CD #CD43A6
square
#CDAF43 #43CD6A #4361CD #CD43A6
split-complementary
#CDAF43 #43A6CD #6A43CD
monochromatic
#76631F #A78C2C #CDAF43 #DAC473 #E7D8A4

Accessibility & contrast

On white

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

On black

9.81
#CDAF43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAF43
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAF43#FFFFFF#000000##000000
##CDAF431.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdaf43;
/* rgb */ color: rgb(205, 175, 67);
/* oklch */ color: oklch(76.1% 0.129 93.4);
Tailwind
colors: {
  custom: {
    50: '#e0c67c',
    500: '#cdaf43',
    950: '#000000',
  },
}
SCSS
$custom: #cdaf43;
$custom-light: #e0c67c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaf43",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 67
  },
  "hsl": {
    "h": 46.957,
    "s": 57.983,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76058,
    "c": 0.12942,
    "h": 93.4
  },
  "luminance": 0.44044
}

Semantic roles & 50–950 ramp

primary
#CDAF43
secondary
#98A5D4
accent
#68E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDAF43

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

Preview Lab → · Contrast checker → · Palette generator →

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