#CDCA81#CDCA81

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

Color values

HEX#CDCA81
RGBrgb(205, 202, 129)
HSLhsl(58, 43%, 65%)
HSVhsv(58, 37%, 80%)
CMYKcmyk(0%, 1.5%, 37.1%, 19.6%)
CIE-LABlab(80.07, -9.77, 36.84)
CIE-LCHlch(80.07, 38.11, 104.85°)
OKLaboklab(82.48% -0.0264 0.0903)
OKLCHoklch(82.48% 0.094 106.3)
XYZxyz(50.2605, 56.8063, 29.0817)
Luminance0.5681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA81 #8184CD
analogous
#CDA481 #CDCA81 #AACD81
triadic
#CDCA81 #81CDCA #CA81CD
tetradic
#CDCA81 #81CDA4 #8184CD #CD81AA
square
#CDCA81 #81CDA4 #8184CD #CD81AA
split-complementary
#CDCA81 #81AACD #A481CD
monochromatic
#97943C #BCB855 #CDCA81 #DEDCAD #F0EFD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCA81#FFFFFF#000000##000000
##CDCA811.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)
#D6C57C
Deuteranopia (green-blind)
#D7C884
Tritanopia (blue-blind)
#D7C1B8
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdca81;
/* rgb */ color: rgb(205, 202, 129);
/* oklch */ color: oklch(82.5% 0.094 106.3);
Tailwind
colors: {
  custom: {
    50: '#dddaa6',
    500: '#cdca81',
    950: '#000000',
  },
}
SCSS
$custom: #cdca81;
$custom-light: #dddaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca81",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 129
  },
  "hsl": {
    "h": 57.632,
    "s": 43.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.82477,
    "c": 0.09411,
    "h": 106.3
  },
  "luminance": 0.56805
}

Semantic roles & 50–950 ramp

primary
#CDCA81
secondary
#54579E
accent
#35B62F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDCA81

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

Preview Lab → · Contrast checker → · Palette generator →

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