#CDC272#CDC272

#CDC272 is a light, moderate yellow. Relative luminance 0.528; OKLCH L 80.6% C 0.102 H 101.5°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#CDC272
RGBrgb(205, 194, 114)
HSLhsl(53, 48%, 63%)
HSVhsv(53, 44%, 80%)
CMYKcmyk(0%, 5.4%, 44.4%, 19.6%)
CIE-LABlab(77.74, -7.27, 41.49)
CIE-LCHlch(77.74, 42.12, 99.93°)
OKLaboklab(80.56% -0.0204 0.1001)
OKLCHoklch(80.56% 0.102 101.5)
XYZxyz(47.5070, 52.7791, 23.6012)
Luminance0.5278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC272 #727DCD
analogous
#CD9472 #CDC272 #ABCD72
triadic
#CDC272 #72CDC2 #C272CD
tetradic
#CDC272 #72CD94 #727DCD #CD72AB
square
#CDC272 #72CD94 #727DCD #CD72AB
split-complementary
#CDC272 #72ABCD #9472CD
monochromatic
#918633 #BDAE45 #CDC272 #DDD69F #EDE9CC

Accessibility & contrast

On white

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

On black

11.56
#CDC272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC272
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC272#FFFFFF#000000##000000
##CDC2721.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBD6C
Deuteranopia (green-blind)
#D3C275
Tritanopia (blue-blind)
#D9B8AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc272;
/* rgb */ color: rgb(205, 194, 114);
/* oklch */ color: oklch(80.6% 0.102 101.5);
Tailwind
colors: {
  custom: {
    50: '#ded49c',
    500: '#cdc272',
    950: '#000000',
  },
}
SCSS
$custom: #cdc272;
$custom-light: #ded49c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc272",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 114
  },
  "hsl": {
    "h": 52.747,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.80562,
    "c": 0.10215,
    "h": 101.5
  },
  "luminance": 0.52778
}

Semantic roles & 50–950 ramp

primary
#CDC272
secondary
#4C5597
accent
#3CBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC272

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

Preview Lab → · Contrast checker → · Palette generator →

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