#CDC374#CDC374

#CDC374 is a light, moderate yellow. Relative luminance 0.533; OKLCH L 80.8% C 0.101 H 102.1°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#CDC374
RGBrgb(205, 195, 116)
HSLhsl(53, 47%, 63%)
HSVhsv(53, 43%, 80%)
CMYKcmyk(0%, 4.9%, 43.4%, 19.6%)
CIE-LABlab(78.04, -7.58, 40.85)
CIE-LCHlch(78.04, 41.54, 100.51°)
OKLaboklab(80.8% -0.0211 0.0988)
OKLCHoklch(80.8% 0.101 102.1)
XYZxyz(47.8454, 53.2717, 24.2817)
Luminance0.5327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC374 #747ECD
analogous
#CD9674 #CDC374 #ABCD74
triadic
#CDC374 #74CDC3 #C374CD
tetradic
#CDC374 #74CD96 #747ECD #CD74AB
square
#CDC374 #74CD96 #747ECD #CD74AB
split-complementary
#CDC374 #74ABCD #9674CD
monochromatic
#928835 #BDB047 #CDC374 #DDD6A1 #EDEACE

Accessibility & contrast

On white

1.80
#CDC374 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#CDC374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC374
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC374#FFFFFF#000000##000000
##CDC3741.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BE6E
Deuteranopia (green-blind)
#D3C377
Tritanopia (blue-blind)
#D9B9B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc374;
/* rgb */ color: rgb(205, 195, 116);
/* oklch */ color: oklch(80.8% 0.101 102.1);
Tailwind
colors: {
  custom: {
    50: '#ded59d',
    500: '#cdc374',
    950: '#000000',
  },
}
SCSS
$custom: #cdc374;
$custom-light: #ded59d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc374",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 116
  },
  "hsl": {
    "h": 53.258,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.80802,
    "c": 0.10101,
    "h": 102.1
  },
  "luminance": 0.5327
}

Semantic roles & 50–950 ramp

primary
#CDC374
secondary
#4D5598
accent
#3BBA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC374

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

Preview Lab → · Contrast checker → · Palette generator →

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