#CDC27E#CDC27E

#CDC27E is a light, moderate yellow. Relative luminance 0.531; OKLCH L 80.8% C 0.089 H 100.2°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#CDC27E
RGBrgb(205, 194, 126)
HSLhsl(52, 44%, 65%)
HSVhsv(52, 39%, 80%)
CMYKcmyk(0%, 5.4%, 38.5%, 19.6%)
CIE-LABlab(77.92, -5.99, 35.60)
CIE-LCHlch(77.92, 36.10, 99.55°)
OKLaboklab(80.76% -0.0157 0.0874)
OKLCHoklch(80.76% 0.089 100.2)
XYZxyz(48.2354, 53.0704, 27.4373)
Luminance0.5307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC27E #7E89CD
analogous
#CD9B7E #CDC27E #B0CD7E
triadic
#CDC27E #7ECDC2 #C27ECD
tetradic
#CDC27E #7ECD9B #7E89CD #CD7EB0
square
#CDC27E #7ECD9B #7E89CD #CD7EB0
split-complementary
#CDC27E #7EB0CD #9B7ECD
monochromatic
#968A3A #BCAD52 #CDC27E #DED7AA #EFECD6

Accessibility & contrast

On white

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

On black

11.61
#CDC27E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC27E
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC27E#FFFFFF#000000##000000
##CDC27E1.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBE79
Deuteranopia (green-blind)
#D1C381
Tritanopia (blue-blind)
#D8B9B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc27e;
/* rgb */ color: rgb(205, 194, 126);
/* oklch */ color: oklch(80.8% 0.089 100.2);
Tailwind
colors: {
  custom: {
    50: '#ddd4a4',
    500: '#cdc27e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc27e;
$custom-light: #ddd4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc27e",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 126
  },
  "hsl": {
    "h": 51.646,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.80755,
    "c": 0.08877,
    "h": 100.2
  },
  "luminance": 0.53069
}

Semantic roles & 50–950 ramp

primary
#CDC27E
secondary
#535D9D
accent
#41B72E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC27E

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

Preview Lab → · Contrast checker → · Palette generator →

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