#CDC674#CDC674

#CDC674 is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.4% C 0.104 H 104.2°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#CDC674
RGBrgb(205, 198, 116)
HSLhsl(55, 47%, 63%)
HSVhsv(55, 43%, 80%)
CMYKcmyk(0%, 3.4%, 43.4%, 19.6%)
CIE-LABlab(78.83, -9.12, 41.84)
CIE-LCHlch(78.83, 42.82, 102.30°)
OKLaboklab(81.43% -0.0255 0.101)
OKLCHoklch(81.43% 0.104 104.2)
XYZxyz(48.5243, 54.6296, 24.5080)
Luminance0.5463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC674 #747BCD
analogous
#CD9974 #CDC674 #A7CD74
triadic
#CDC674 #74CDC6 #C674CD
tetradic
#CDC674 #74CD99 #747BCD #CD74A7
square
#CDC674 #74CD99 #747BCD #CD74A7
split-complementary
#CDC674 #74A7CD #9974CD
monochromatic
#928B35 #BDB447 #CDC674 #DDD8A1 #EDEBCE

Accessibility & contrast

On white

1.76
#CDC674 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#CDC674 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC674
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC674#FFFFFF#000000##000000
##CDC6741.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C16D
Deuteranopia (green-blind)
#D6C578
Tritanopia (blue-blind)
#D9BCB2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc674;
/* rgb */ color: rgb(205, 198, 116);
/* oklch */ color: oklch(81.4% 0.104 104.2);
Tailwind
colors: {
  custom: {
    50: '#ded79d',
    500: '#cdc674',
    950: '#000000',
  },
}
SCSS
$custom: #cdc674;
$custom-light: #ded79d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc674",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 116
  },
  "hsl": {
    "h": 55.281,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.8143,
    "c": 0.10419,
    "h": 104.2
  },
  "luminance": 0.54628
}

Semantic roles & 50–950 ramp

primary
#CDC674
secondary
#4D5398
accent
#36BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC674

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

Preview Lab → · Contrast checker → · Palette generator →

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