#CDAF55#CDAF55

#CDAF55 is a light, moderate yellow. Relative luminance 0.443; OKLCH L 76.2% C 0.115 H 91.1°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#CDAF55
RGBrgb(205, 175, 85)
HSLhsl(45, 55%, 57%)
HSVhsv(45, 59%, 80%)
CMYKcmyk(0%, 14.6%, 58.5%, 19.6%)
CIE-LABlab(72.43, 0.14, 49.34)
CIE-LCHlch(72.43, 49.34, 89.84°)
OKLaboklab(76.24% -0.0021 0.1148)
OKLCHoklch(76.24% 0.115 91.1)
XYZxyz(42.1484, 44.2971, 14.9227)
Luminance0.4430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAF55 #5573CD
analogous
#CD7355 #CDAF55 #AFCD55
triadic
#CDAF55 #55CDAF #AF55CD
tetradic
#CDAF55 #55CD73 #5573CD #CD55AF
square
#CDAF55 #55CD73 #5573CD #CD55AF
split-complementary
#CDAF55 #55AFCD #7355CD
monochromatic
#826B26 #B19234 #CDAF55 #DBC584 #E9DCB4

Accessibility & contrast

On white

2.13
#CDAF55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#CDAF55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAF55
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAF55#FFFFFF#000000##000000
##CDAF551.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD4C
Deuteranopia (green-blind)
#C7B559
Tritanopia (blue-blind)
#DCA39B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cdaf55;
/* rgb */ color: rgb(205, 175, 85);
/* oklch */ color: oklch(76.2% 0.115 91.1);
Tailwind
colors: {
  custom: {
    50: '#dfc688',
    500: '#cdaf55',
    950: '#000000',
  },
}
SCSS
$custom: #cdaf55;
$custom-light: #dfc688;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaf55",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 85
  },
  "hsl": {
    "h": 45,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.76243,
    "c": 0.1148,
    "h": 91.1
  },
  "luminance": 0.44295
}

Semantic roles & 50–950 ramp

primary
#CDAF55
secondary
#A6B3D7
accent
#6FDE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDAF55

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

Preview Lab → · Contrast checker → · Palette generator →

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