#CDCA74#CDCA74

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

Color values

HEX#CDCA74
RGBrgb(205, 202, 116)
HSLhsl(58, 47%, 63%)
HSVhsv(58, 43%, 80%)
CMYKcmyk(0%, 1.5%, 43.4%, 19.6%)
CIE-LABlab(79.89, -11.16, 43.16)
CIE-LCHlch(79.89, 44.58, 104.50°)
OKLaboklab(82.27% -0.0314 0.104)
OKLCHoklch(82.27% 0.109 106.8)
XYZxyz(49.4507, 56.4823, 24.8168)
Luminance0.5648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA74 #7477CD
analogous
#CD9E74 #CDCA74 #A3CD74
triadic
#CDCA74 #74CDCA #CA74CD
tetradic
#CDCA74 #74CD9E #7477CD #CD74A3
square
#CDCA74 #74CD9E #7477CD #CD74A3
split-complementary
#CDCA74 #74A3CD #9E74CD
monochromatic
#928F35 #BDB947 #CDCA74 #DDDBA1 #EDECCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCA74#FFFFFF#000000##000000
##CDCA741.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)
#D7C46D
Deuteranopia (green-blind)
#D9C878
Tritanopia (blue-blind)
#D8C0B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdca74;
/* rgb */ color: rgb(205, 202, 116);
/* oklch */ color: oklch(82.3% 0.109 106.8);
Tailwind
colors: {
  custom: {
    50: '#deda9d',
    500: '#cdca74',
    950: '#000000',
  },
}
SCSS
$custom: #cdca74;
$custom-light: #deda9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca74",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 116
  },
  "hsl": {
    "h": 57.978,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.82272,
    "c": 0.1086,
    "h": 106.8
  },
  "luminance": 0.56481
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDCA74

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

Preview Lab → · Contrast checker → · Palette generator →

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