#CDC370#CDC370

#CDC370 is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.7% C 0.105 H 102.4°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#CDC370
RGBrgb(205, 195, 112)
HSLhsl(54, 48%, 62%)
HSVhsv(54, 45%, 80%)
CMYKcmyk(0%, 4.9%, 45.4%, 19.6%)
CIE-LABlab(77.98, -7.98, 42.78)
CIE-LCHlch(77.98, 43.52, 100.57°)
OKLaboklab(80.74% -0.0226 0.1029)
OKLCHoklch(80.74% 0.105 102.4)
XYZxyz(47.6177, 53.1806, 23.0826)
Luminance0.5318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC370 #707ACD
analogous
#CD9470 #CDC370 #A9CD70
triadic
#CDC370 #70CDC3 #C370CD
tetradic
#CDC370 #70CD94 #707ACD #CD70A9
square
#CDC370 #70CD94 #707ACD #CD70A9
split-complementary
#CDC370 #70A9CD #9470CD
monochromatic
#908632 #BDB043 #CDC370 #DDD69D #EDE9CB

Accessibility & contrast

On white

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

On black

11.64
#CDC370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC370
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC370#FFFFFF#000000##000000
##CDC3701.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BE69
Deuteranopia (green-blind)
#D4C374
Tritanopia (blue-blind)
#D9B9AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc370;
/* rgb */ color: rgb(205, 195, 112);
/* oklch */ color: oklch(80.7% 0.105 102.4);
Tailwind
colors: {
  custom: {
    50: '#ded59a',
    500: '#cdc370',
    950: '#000000',
  },
}
SCSS
$custom: #cdc370;
$custom-light: #ded59a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc370",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 112
  },
  "hsl": {
    "h": 53.548,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.80742,
    "c": 0.10533,
    "h": 102.4
  },
  "luminance": 0.53179
}

Semantic roles & 50–950 ramp

primary
#CDC370
secondary
#4B5397
accent
#3ABB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC370

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

Preview Lab → · Contrast checker → · Palette generator →

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