#CDCA80#CDCA80

#CDCA80 is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.5% C 0.095 H 106.3°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#CDCA80
RGBrgb(205, 202, 128)
HSLhsl(58, 44%, 65%)
HSVhsv(58, 38%, 80%)
CMYKcmyk(0%, 1.5%, 37.6%, 19.6%)
CIE-LABlab(80.06, -9.88, 37.33)
CIE-LCHlch(80.06, 38.62, 104.83°)
OKLaboklab(82.46% -0.0267 0.0914)
OKLCHoklch(82.46% 0.095 106.3)
XYZxyz(50.1943, 56.7798, 28.7333)
Luminance0.5678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA80 #8083CD
analogous
#CDA380 #CDCA80 #AACD80
triadic
#CDCA80 #80CDCA #CA80CD
tetradic
#CDCA80 #80CDA3 #8083CD #CD80AA
square
#CDCA80 #80CDA3 #8083CD #CD80AA
split-complementary
#CDCA80 #80AACD #A380CD
monochromatic
#97943B #BCB854 #CDCA80 #DEDCAC #F0EFD8

Accessibility & contrast

On white

1.70
#CDCA80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#CDCA80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA80
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA80#FFFFFF#000000##000000
##CDCA801.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C57A
Deuteranopia (green-blind)
#D8C883
Tritanopia (blue-blind)
#D7C1B8
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdca80;
/* rgb */ color: rgb(205, 202, 128);
/* oklch */ color: oklch(82.5% 0.095 106.3);
Tailwind
colors: {
  custom: {
    50: '#dddaa6',
    500: '#cdca80',
    950: '#000000',
  },
}
SCSS
$custom: #cdca80;
$custom-light: #dddaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca80",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 128
  },
  "hsl": {
    "h": 57.662,
    "s": 43.503,
    "l": 65.294
  },
  "oklch": {
    "l": 0.8246,
    "c": 0.09526,
    "h": 106.3
  },
  "luminance": 0.56779
}

Semantic roles & 50–950 ramp

primary
#CDCA80
secondary
#54579D
accent
#34B72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDCA80

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

Preview Lab → · Contrast checker → · Palette generator →

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