#CDC36A#CDC36A

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

Color values

HEX#CDC36A
RGBrgb(205, 195, 106)
HSLhsl(54, 50%, 61%)
HSVhsv(54, 48%, 80%)
CMYKcmyk(0%, 4.9%, 48.3%, 19.6%)
CIE-LABlab(77.91, -8.55, 45.66)
CIE-LCHlch(77.91, 46.45, 100.61°)
OKLaboklab(80.66% -0.0248 0.1088)
OKLCHoklch(80.66% 0.112 102.9)
XYZxyz(47.2947, 53.0514, 21.3815)
Luminance0.5305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC36A #6A74CD
analogous
#CD916A #CDC36A #A5CD6A
triadic
#CDC36A #6ACDC3 #C36ACD
tetradic
#CDC36A #6ACD91 #6A74CD #CD6AA5
square
#CDC36A #6ACD91 #6A74CD #CD6AA5
split-complementary
#CDC36A #6AA5CD #916ACD
monochromatic
#8D842F #BBAE3F #CDC36A #DCD598 #ECE8C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC36A#FFFFFF#000000##000000
##CDC36A1.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)
#D1BE62
Deuteranopia (green-blind)
#D4C36E
Tritanopia (blue-blind)
#DAB8AE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc36a;
/* rgb */ color: rgb(205, 195, 106);
/* oklch */ color: oklch(80.7% 0.112 102.9);
Tailwind
colors: {
  custom: {
    50: '#ded596',
    500: '#cdc36a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc36a;
$custom-light: #ded596;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc36a",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 106
  },
  "hsl": {
    "h": 53.939,
    "s": 49.749,
    "l": 60.98
  },
  "oklch": {
    "l": 0.80657,
    "c": 0.1116,
    "h": 102.9
  },
  "luminance": 0.5305
}

Semantic roles & 50–950 ramp

primary
#CDC36A
secondary
#474F94
accent
#37BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC36A

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

Preview Lab → · Contrast checker → · Palette generator →

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