#CDC36E#CDC36E

#CDC36E is a light, moderate yellow. Relative luminance 0.531; OKLCH L 80.7% C 0.107 H 102.6°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#CDC36E
RGBrgb(205, 195, 110)
HSLhsl(54, 49%, 62%)
HSVhsv(54, 46%, 80%)
CMYKcmyk(0%, 4.9%, 46.3%, 19.6%)
CIE-LABlab(77.96, -8.17, 43.75)
CIE-LCHlch(77.96, 44.50, 100.58°)
OKLaboklab(80.71% -0.0234 0.1049)
OKLCHoklch(80.71% 0.107 102.6)
XYZxyz(47.5076, 53.1366, 22.5027)
Luminance0.5313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC36E #6E78CD
analogous
#CD946E #CDC36E #A8CD6E
triadic
#CDC36E #6ECDC3 #C36ECD
tetradic
#CDC36E #6ECD94 #6E78CD #CD6EA8
square
#CDC36E #6ECD94 #6E78CD #CD6EA8
split-complementary
#CDC36E #6EA8CD #946ECD
monochromatic
#8F8531 #BDB041 #CDC36E #DDD69C #ECE9C9

Accessibility & contrast

On white

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

On black

11.63
#CDC36E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC36E
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC36E#FFFFFF#000000##000000
##CDC36E1.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BE67
Deuteranopia (green-blind)
#D4C372
Tritanopia (blue-blind)
#D9B9AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc36e;
/* rgb */ color: rgb(205, 195, 110);
/* oklch */ color: oklch(80.7% 0.107 102.6);
Tailwind
colors: {
  custom: {
    50: '#ded599',
    500: '#cdc36e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc36e;
$custom-light: #ded599;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc36e",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 110
  },
  "hsl": {
    "h": 53.684,
    "s": 48.718,
    "l": 61.765
  },
  "oklch": {
    "l": 0.80713,
    "c": 0.10744,
    "h": 102.6
  },
  "luminance": 0.53135
}

Semantic roles & 50–950 ramp

primary
#CDC36E
secondary
#4A5296
accent
#39BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC36E

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

Preview Lab → · Contrast checker → · Palette generator →

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