#CDCA70#CDCA70

#CDCA70 is a very light, moderate yellow. Relative luminance 0.564; OKLCH L 82.2% C 0.113 H 106.9°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#CDCA70
RGBrgb(205, 202, 112)
HSLhsl(58, 48%, 62%)
HSVhsv(58, 45%, 80%)
CMYKcmyk(0%, 1.5%, 45.4%, 19.6%)
CIE-LABlab(79.84, -11.56, 45.07)
CIE-LCHlch(79.84, 46.53, 104.39°)
OKLaboklab(82.22% -0.0329 0.108)
OKLCHoklch(82.22% 0.113 106.9)
XYZxyz(49.2230, 56.3913, 23.6177)
Luminance0.5639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA70 #7073CD
analogous
#CD9C70 #CDCA70 #A1CD70
triadic
#CDCA70 #70CDCA #CA70CD
tetradic
#CDCA70 #70CD9C #7073CD #CD70A1
square
#CDCA70 #70CD9C #7073CD #CD70A1
split-complementary
#CDCA70 #70A1CD #9C70CD
monochromatic
#908D32 #BDB943 #CDCA70 #DDDB9D #EDECCB

Accessibility & contrast

On white

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

On black

12.28
#CDCA70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA70
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA70#FFFFFF#000000##000000
##CDCA701.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C468
Deuteranopia (green-blind)
#D9C874
Tritanopia (blue-blind)
#D9C0B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdca70;
/* rgb */ color: rgb(205, 202, 112);
/* oklch */ color: oklch(82.2% 0.113 106.9);
Tailwind
colors: {
  custom: {
    50: '#deda9b',
    500: '#cdca70',
    950: '#000000',
  },
}
SCSS
$custom: #cdca70;
$custom-light: #deda9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca70",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 112
  },
  "hsl": {
    "h": 58.065,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82215,
    "c": 0.11285,
    "h": 106.9
  },
  "luminance": 0.5639
}

Semantic roles & 50–950 ramp

primary
#CDCA70
secondary
#4B4D97
accent
#2FBB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDCA70

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

Preview Lab → · Contrast checker → · Palette generator →

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