#CDC670#CDC670

#CDC670 is a light, moderate yellow. Relative luminance 0.545; OKLCH L 81.4% C 0.108 H 104.4°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#CDC670
RGBrgb(205, 198, 112)
HSLhsl(55, 48%, 62%)
HSVhsv(55, 45%, 80%)
CMYKcmyk(0%, 3.4%, 45.4%, 19.6%)
CIE-LABlab(78.77, -9.52, 43.76)
CIE-LCHlch(78.77, 44.79, 102.27°)
OKLaboklab(81.37% -0.027 0.1051)
OKLCHoklch(81.37% 0.108 104.4)
XYZxyz(48.2966, 54.5385, 23.3090)
Luminance0.5454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC670 #7077CD
analogous
#CD9870 #CDC670 #A6CD70
triadic
#CDC670 #70CDC6 #C670CD
tetradic
#CDC670 #70CD98 #7077CD #CD70A6
square
#CDC670 #70CD98 #7077CD #CD70A6
split-complementary
#CDC670 #70A6CD #9870CD
monochromatic
#908932 #BDB443 #CDC670 #DDD89D #EDEACB

Accessibility & contrast

On white

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

On black

11.91
#CDC670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC670
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC670#FFFFFF#000000##000000
##CDC6701.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc670;
/* rgb */ color: rgb(205, 198, 112);
/* oklch */ color: oklch(81.4% 0.108 104.4);
Tailwind
colors: {
  custom: {
    50: '#ded79b',
    500: '#cdc670',
    950: '#000000',
  },
}
SCSS
$custom: #cdc670;
$custom-light: #ded79b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc670",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 112
  },
  "hsl": {
    "h": 55.484,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.81371,
    "c": 0.10848,
    "h": 104.4
  },
  "luminance": 0.54537
}

Semantic roles & 50–950 ramp

primary
#CDC670
secondary
#4B5097
accent
#35BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC670

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

Preview Lab → · Contrast checker → · Palette generator →

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