#CDC37E#CDC37E

#CDC37E is a light, moderate yellow. Relative luminance 0.535; OKLCH L 81.0% C 0.090 H 101.0°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#CDC37E
RGBrgb(205, 195, 126)
HSLhsl(52, 44%, 65%)
HSVhsv(52, 39%, 80%)
CMYKcmyk(0%, 4.9%, 38.5%, 19.6%)
CIE-LABlab(78.18, -6.51, 35.94)
CIE-LCHlch(78.18, 36.52, 100.27°)
OKLaboklab(80.96% -0.0172 0.0882)
OKLCHoklch(80.96% 0.09 101)
XYZxyz(48.4587, 53.5170, 27.5118)
Luminance0.5352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC37E #7E88CD
analogous
#CD9C7E #CDC37E #B0CD7E
triadic
#CDC37E #7ECDC3 #C37ECD
tetradic
#CDC37E #7ECD9C #7E88CD #CD7EB0
square
#CDC37E #7ECD9C #7E88CD #CD7EB0
split-complementary
#CDC37E #7EB0CD #9C7ECD
monochromatic
#968B3A #BCAE52 #CDC37E #DED8AA #EFECD6

Accessibility & contrast

On white

1.79
#CDC37E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#CDC37E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC37E
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC37E#FFFFFF#000000##000000
##CDC37E1.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBF79
Deuteranopia (green-blind)
#D2C381
Tritanopia (blue-blind)
#D8BAB2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc37e;
/* rgb */ color: rgb(205, 195, 126);
/* oklch */ color: oklch(81.0% 0.090 101.0);
Tailwind
colors: {
  custom: {
    50: '#ddd5a4',
    500: '#cdc37e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc37e;
$custom-light: #ddd5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc37e",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 126
  },
  "hsl": {
    "h": 52.405,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.80963,
    "c": 0.08981,
    "h": 101
  },
  "luminance": 0.53516
}

Semantic roles & 50–950 ramp

primary
#CDC37E
secondary
#535C9D
accent
#40B72E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC37E

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

Preview Lab → · Contrast checker → · Palette generator →

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