#CDC537#CDC537

#CDC537 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.6% C 0.155 H 106.1°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#CDC537
RGBrgb(205, 197, 55)
HSLhsl(57, 60%, 51%)
HSVhsv(57, 73%, 80%)
CMYKcmyk(0%, 3.9%, 73.2%, 19.6%)
CIE-LABlab(77.99, -13.02, 67.60)
CIE-LCHlch(77.99, 68.84, 100.90°)
OKLaboklab(80.58% -0.043 0.1489)
OKLCHoklch(80.58% 0.155 106.1)
XYZxyz(45.8345, 53.1892, 11.4659)
Luminance0.5319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC537 #373FCD
analogous
#CD7A37 #CDC537 #8ACD37
triadic
#CDC537 #37CDC5 #C537CD
tetradic
#CDC537 #37CD7A #373FCD #CD378A
square
#CDC537 #37CD7A #373FCD #CD378A
split-complementary
#CDC537 #378ACD #7A37CD
monochromatic
#6E6A1C #9F9928 #CDC537 #D9D368 #E5E199

Accessibility & contrast

On white

1.80
#CDC537 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#CDC537 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC537
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC537#FFFFFF#000000##000000
##CDC5371.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE1B
Deuteranopia (green-blind)
#D9C342
Tritanopia (blue-blind)
#DCB8AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc537;
/* rgb */ color: rgb(205, 197, 55);
/* oklch */ color: oklch(80.6% 0.155 106.1);
Tailwind
colors: {
  custom: {
    50: '#e0d678',
    500: '#cdc537',
    950: '#000000',
  },
}
SCSS
$custom: #cdc537;
$custom-light: #e0d678;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc537",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 55
  },
  "hsl": {
    "h": 56.8,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.80576,
    "c": 0.15497,
    "h": 106.1
  },
  "luminance": 0.53187
}

Semantic roles & 50–950 ramp

primary
#CDC537
secondary
#313577
accent
#4DE345
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC537

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

Preview Lab → · Contrast checker → · Palette generator →

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