#CDC36D#CDC36D

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

Color values

HEX#CDC36D
RGBrgb(205, 195, 109)
HSLhsl(54, 49%, 62%)
HSVhsv(54, 47%, 80%)
CMYKcmyk(0%, 4.9%, 46.8%, 19.6%)
CIE-LABlab(77.94, -8.27, 44.23)
CIE-LCHlch(77.94, 44.99, 100.59°)
OKLaboklab(80.7% -0.0237 0.1059)
OKLCHoklch(80.7% 0.109 102.6)
XYZxyz(47.4534, 53.1149, 22.2176)
Luminance0.5311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC36D #6D77CD
analogous
#CD936D #CDC36D #A7CD6D
triadic
#CDC36D #6DCDC3 #C36DCD
tetradic
#CDC36D #6DCD93 #6D77CD #CD6DA7
square
#CDC36D #6DCD93 #6D77CD #CD6DA7
split-complementary
#CDC36D #6DA7CD #936DCD
monochromatic
#8F8531 #BCAF40 #CDC36D #DDD69B #ECE8C8

Accessibility & contrast

On white

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

On black

11.62
#CDC36D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC36D
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC36D#FFFFFF#000000##000000
##CDC36D1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc36d;
/* rgb */ color: rgb(205, 195, 109);
/* oklch */ color: oklch(80.7% 0.108 102.6);
Tailwind
colors: {
  custom: {
    50: '#ded598',
    500: '#cdc36d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc36d;
$custom-light: #ded598;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc36d",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 109
  },
  "hsl": {
    "h": 53.75,
    "s": 48.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.80699,
    "c": 0.1085,
    "h": 102.6
  },
  "luminance": 0.53113
}

Semantic roles & 50–950 ramp

primary
#CDC36D
secondary
#495195
accent
#39BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC36D

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

Preview Lab → · Contrast checker → · Palette generator →

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