#CDC270#CDC270

#CDC270 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.5% C 0.104 H 101.7°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#CDC270
RGBrgb(205, 194, 112)
HSLhsl(53, 48%, 62%)
HSVhsv(53, 45%, 80%)
CMYKcmyk(0%, 5.4%, 45.4%, 19.6%)
CIE-LABlab(77.72, -7.46, 42.46)
CIE-LCHlch(77.72, 43.11, 99.97°)
OKLaboklab(80.53% -0.0211 0.1021)
OKLCHoklch(80.53% 0.104 101.7)
XYZxyz(47.3944, 52.7340, 23.0082)
Luminance0.5273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC270 #707BCD
analogous
#CD9370 #CDC270 #AACD70
triadic
#CDC270 #70CDC2 #C270CD
tetradic
#CDC270 #70CD93 #707BCD #CD70AA
square
#CDC270 #70CD93 #707BCD #CD70AA
split-complementary
#CDC270 #70AACD #9370CD
monochromatic
#908532 #BDAF43 #CDC270 #DDD59D #EDE9CB

Accessibility & contrast

On white

1.82
#CDC270 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#CDC270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC270
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC270#FFFFFF#000000##000000
##CDC2701.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BD69
Deuteranopia (green-blind)
#D3C273
Tritanopia (blue-blind)
#D9B8AE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc270;
/* rgb */ color: rgb(205, 194, 112);
/* oklch */ color: oklch(80.5% 0.104 101.7);
Tailwind
colors: {
  custom: {
    50: '#ded49a',
    500: '#cdc270',
    950: '#000000',
  },
}
SCSS
$custom: #cdc270;
$custom-light: #ded49a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc270",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 112
  },
  "hsl": {
    "h": 52.903,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.80533,
    "c": 0.1043,
    "h": 101.7
  },
  "luminance": 0.52733
}

Semantic roles & 50–950 ramp

primary
#CDC270
secondary
#4B5497
accent
#3BBB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC270

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

Preview Lab → · Contrast checker → · Palette generator →

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