#CDC27D#CDC27D

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

Color values

HEX#CDC27D
RGBrgb(205, 194, 125)
HSLhsl(52, 44%, 65%)
HSVhsv(52, 39%, 80%)
CMYKcmyk(0%, 5.4%, 39%, 19.6%)
CIE-LABlab(77.90, -6.10, 36.09)
CIE-LCHlch(77.90, 36.61, 99.60°)
OKLaboklab(80.74% -0.0161 0.0885)
OKLCHoklch(80.74% 0.09 100.3)
XYZxyz(48.1712, 53.0447, 27.0992)
Luminance0.5304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC27D #7D88CD
analogous
#CD9A7D #CDC27D #B0CD7D
triadic
#CDC27D #7DCDC2 #C27DCD
tetradic
#CDC27D #7DCD9A #7D88CD #CD7DB0
square
#CDC27D #7DCD9A #7D88CD #CD7DB0
split-complementary
#CDC27D #7DB0CD #9A7DCD
monochromatic
#96893A #BCAD51 #CDC27D #DED7A9 #EFEBD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC27D#FFFFFF#000000##000000
##CDC27D1.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)
#CEBE78
Deuteranopia (green-blind)
#D2C380
Tritanopia (blue-blind)
#D8B9B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc27d;
/* rgb */ color: rgb(205, 194, 125);
/* oklch */ color: oklch(80.7% 0.090 100.3);
Tailwind
colors: {
  custom: {
    50: '#ddd4a3',
    500: '#cdc27d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc27d;
$custom-light: #ddd4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc27d",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 125
  },
  "hsl": {
    "h": 51.75,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.80738,
    "c": 0.08991,
    "h": 100.3
  },
  "luminance": 0.53043
}

Semantic roles & 50–950 ramp

primary
#CDC27D
secondary
#525C9C
accent
#41B82E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC27D

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

Preview Lab → · Contrast checker → · Palette generator →

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