#CDC65F#CDC65F

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

Color values

HEX#CDC65F
RGBrgb(205, 198, 95)
HSLhsl(56, 52%, 59%)
HSVhsv(56, 54%, 80%)
CMYKcmyk(0%, 3.4%, 53.7%, 19.6%)
CIE-LABlab(78.58, -11.04, 51.72)
CIE-LCHlch(78.58, 52.88, 102.05°)
OKLaboklab(81.15% -0.0331 0.121)
OKLCHoklch(81.15% 0.125 105.3)
XYZxyz(47.4379, 54.1950, 18.7861)
Luminance0.5419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC65F #5F66CD
analogous
#CD8F5F #CDC65F #9DCD5F
triadic
#CDC65F #5FCDC6 #C65FCD
tetradic
#CDC65F #5FCD8F #5F66CD #CD5F9D
square
#CDC65F #5FCD8F #5F66CD #CD5F9D
split-complementary
#CDC65F #5F9DCD #8F5FCD
monochromatic
#87812A #B6AE39 #CDC65F #DCD78E #EAE7BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC65F#FFFFFF#000000##000000
##CDC65F1.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)
#D5C055
Deuteranopia (green-blind)
#D8C564
Tritanopia (blue-blind)
#DABBAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc65f;
/* rgb */ color: rgb(205, 198, 95);
/* oklch */ color: oklch(81.1% 0.125 105.3);
Tailwind
colors: {
  custom: {
    50: '#ded78f',
    500: '#cdc65f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc65f;
$custom-light: #ded78f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc65f",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 95
  },
  "hsl": {
    "h": 56.182,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81148,
    "c": 0.12548,
    "h": 105.3
  },
  "luminance": 0.54194
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC65F

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

Preview Lab → · Contrast checker → · Palette generator →

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