#CDC770#CDC770

#CDC770 is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.6% C 0.110 H 105.1°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#CDC770
RGBrgb(205, 199, 112)
HSLhsl(56, 48%, 62%)
HSVhsv(56, 45%, 80%)
CMYKcmyk(0%, 2.9%, 45.4%, 19.6%)
CIE-LABlab(79.04, -10.03, 44.09)
CIE-LCHlch(79.04, 45.22, 102.82°)
OKLaboklab(81.58% -0.0285 0.1058)
OKLCHoklch(81.58% 0.11 105.1)
XYZxyz(48.5260, 54.9972, 23.3854)
Luminance0.5500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC770 #7076CD
analogous
#CD9970 #CDC770 #A5CD70
triadic
#CDC770 #70CDC7 #C770CD
tetradic
#CDC770 #70CD99 #7076CD #CD70A5
square
#CDC770 #70CD99 #7076CD #CD70A5
split-complementary
#CDC770 #70A5CD #9970CD
monochromatic
#908A32 #BDB543 #CDC770 #DDD99D #EDEBCB

Accessibility & contrast

On white

1.75
#CDC770 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#CDC770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC770
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC770#FFFFFF#000000##000000
##CDC7701.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C169
Deuteranopia (green-blind)
#D7C674
Tritanopia (blue-blind)
#D9BDB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc770;
/* rgb */ color: rgb(205, 199, 112);
/* oklch */ color: oklch(81.6% 0.110 105.1);
Tailwind
colors: {
  custom: {
    50: '#ded79b',
    500: '#cdc770',
    950: '#000000',
  },
}
SCSS
$custom: #cdc770;
$custom-light: #ded79b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc770",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 112
  },
  "hsl": {
    "h": 56.129,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.81582,
    "c": 0.10956,
    "h": 105.1
  },
  "luminance": 0.54996
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC770

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

Preview Lab → · Contrast checker → · Palette generator →

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