#CDCA75#CDCA75

#CDCA75 is a very light, moderate yellow. Relative luminance 0.565; OKLCH L 82.3% C 0.108 H 106.8°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#CDCA75
RGBrgb(205, 202, 117)
HSLhsl(58, 47%, 63%)
HSVhsv(58, 43%, 80%)
CMYKcmyk(0%, 1.5%, 42.9%, 19.6%)
CIE-LABlab(79.90, -11.06, 42.67)
CIE-LCHlch(79.90, 44.09, 104.53°)
OKLaboklab(82.29% -0.031 0.103)
OKLCHoklch(82.29% 0.108 106.8)
XYZxyz(49.5092, 56.5057, 25.1248)
Luminance0.5651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA75 #7578CD
analogous
#CD9E75 #CDCA75 #A4CD75
triadic
#CDCA75 #75CDCA #CA75CD
tetradic
#CDCA75 #75CD9E #7578CD #CD75A4
square
#CDCA75 #75CD9E #7578CD #CD75A4
split-complementary
#CDCA75 #75A4CD #9E75CD
monochromatic
#938F35 #BDB948 #CDCA75 #DDDBA2 #EEEDCF

Accessibility & contrast

On white

1.71
#CDCA75 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#CDCA75 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA75
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA75#FFFFFF#000000##000000
##CDCA751.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C46E
Deuteranopia (green-blind)
#D9C879
Tritanopia (blue-blind)
#D8C0B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdca75;
/* rgb */ color: rgb(205, 202, 117);
/* oklch */ color: oklch(82.3% 0.108 106.8);
Tailwind
colors: {
  custom: {
    50: '#deda9e',
    500: '#cdca75',
    950: '#000000',
  },
}
SCSS
$custom: #cdca75;
$custom-light: #deda9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca75",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 117
  },
  "hsl": {
    "h": 57.955,
    "s": 46.809,
    "l": 63.137
  },
  "oklch": {
    "l": 0.82287,
    "c": 0.10752,
    "h": 106.8
  },
  "luminance": 0.56505
}

Semantic roles & 50–950 ramp

primary
#CDCA75
secondary
#4D5099
accent
#30BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDCA75

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

Preview Lab → · Contrast checker → · Palette generator →

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