#CDC65E#CDC65E

#CDC65E is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.1% C 0.126 H 105.4°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#CDC65E
RGBrgb(205, 198, 94)
HSLhsl(56, 53%, 59%)
HSVhsv(56, 54%, 80%)
CMYKcmyk(0%, 3.4%, 54.1%, 19.6%)
CIE-LABlab(78.56, -11.12, 52.17)
CIE-LCHlch(78.56, 53.35, 102.03°)
OKLaboklab(81.14% -0.0335 0.1219)
OKLCHoklch(81.14% 0.126 105.4)
XYZxyz(47.3927, 54.1769, 18.5482)
Luminance0.5417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC65E #5E65CD
analogous
#CD8E5E #CDC65E #9CCD5E
triadic
#CDC65E #5ECDC6 #C65ECD
tetradic
#CDC65E #5ECD8E #5E65CD #CD5E9C
square
#CDC65E #5ECD8E #5E65CD #CD5E9C
split-complementary
#CDC65E #5E9CCD #8E5ECD
monochromatic
#87812A #B5AE38 #CDC65E #DCD78D #EAE7BB

Accessibility & contrast

On white

1.77
#CDC65E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#CDC65E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC65E
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC65E#FFFFFF#000000##000000
##CDC65E1.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C054
Deuteranopia (green-blind)
#D8C563
Tritanopia (blue-blind)
#DABBAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc65e;
/* rgb */ color: rgb(205, 198, 94);
/* oklch */ color: oklch(81.1% 0.126 105.4);
Tailwind
colors: {
  custom: {
    50: '#dfd78f',
    500: '#cdc65e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc65e;
$custom-light: #dfd78f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc65e",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 94
  },
  "hsl": {
    "h": 56.216,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81137,
    "c": 0.1264,
    "h": 105.4
  },
  "luminance": 0.54175
}

Semantic roles & 50–950 ramp

primary
#CDC65E
secondary
#41468E
accent
#55DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC65E

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

Preview Lab → · Contrast checker → · Palette generator →

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