#CDC27C#CDC27C

#CDC27C is a light, moderate yellow. Relative luminance 0.530; OKLCH L 80.7% C 0.091 H 100.4°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#CDC27C
RGBrgb(205, 194, 124)
HSLhsl(52, 45%, 65%)
HSVhsv(52, 40%, 80%)
CMYKcmyk(0%, 5.4%, 39.5%, 19.6%)
CIE-LABlab(77.89, -6.21, 36.59)
CIE-LCHlch(77.89, 37.11, 99.64°)
OKLaboklab(80.72% -0.0165 0.0896)
OKLCHoklch(80.72% 0.091 100.4)
XYZxyz(48.1076, 53.0193, 26.7645)
Luminance0.5302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC27C #7C87CD
analogous
#CD9A7C #CDC27C #B0CD7C
triadic
#CDC27C #7CCDC2 #C27CCD
tetradic
#CDC27C #7CCD9A #7C87CD #CD7CB0
square
#CDC27C #7CCD9A #7C87CD #CD7CB0
split-complementary
#CDC27C #7CB0CD #9A7CCD
monochromatic
#968939 #BCAD50 #CDC27C #DED7A8 #EFEBD5

Accessibility & contrast

On white

1.81
#CDC27C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#CDC27C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC27C
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC27C#FFFFFF#000000##000000
##CDC27C1.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBE77
Deuteranopia (green-blind)
#D2C37F
Tritanopia (blue-blind)
#D8B9B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc27c;
/* rgb */ color: rgb(205, 194, 124);
/* oklch */ color: oklch(80.7% 0.091 100.4);
Tailwind
colors: {
  custom: {
    50: '#ddd4a3',
    500: '#cdc27c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc27c;
$custom-light: #ddd4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc27c",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 124
  },
  "hsl": {
    "h": 51.852,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.80721,
    "c": 0.09106,
    "h": 100.4
  },
  "luminance": 0.53018
}

Semantic roles & 50–950 ramp

primary
#CDC27C
secondary
#515C9C
accent
#40B82E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC27C

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

Preview Lab → · Contrast checker → · Palette generator →

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