#CDC34D#CDC34D

#CDC34D is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.3% C 0.138 H 104.5°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#CDC34D
RGBrgb(205, 195, 77)
HSLhsl(55, 56%, 55%)
HSVhsv(55, 62%, 80%)
CMYKcmyk(0%, 4.9%, 62.4%, 19.6%)
CIE-LABlab(77.61, -10.82, 58.70)
CIE-LCHlch(77.61, 59.69, 100.44°)
OKLaboklab(80.32% -0.0345 0.1337)
OKLCHoklch(80.32% 0.138 104.5)
XYZxyz(46.0332, 52.5468, 14.7375)
Luminance0.5254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC34D #4D57CD
analogous
#CD834D #CDC34D #97CD4D
triadic
#CDC34D #4DCDC3 #C34DCD
tetradic
#CDC34D #4DCD83 #4D57CD #CD4D97
square
#CDC34D #4DCD83 #4D57CD #CD4D97
split-complementary
#CDC34D #4D97CD #834DCD
monochromatic
#7D7623 #ACA330 #CDC34D #DAD37D #E8E3AD

Accessibility & contrast

On white

1.82
#CDC34D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#CDC34D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC34D
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC34D#FFFFFF#000000##000000
##CDC34D1.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD3F
Deuteranopia (green-blind)
#D7C254
Tritanopia (blue-blind)
#DBB7AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc34d;
/* rgb */ color: rgb(205, 195, 77);
/* oklch */ color: oklch(80.3% 0.138 104.5);
Tailwind
colors: {
  custom: {
    50: '#dfd484',
    500: '#cdc34d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc34d;
$custom-light: #dfd484;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc34d",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 77
  },
  "hsl": {
    "h": 55.313,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80323,
    "c": 0.13809,
    "h": 104.5
  },
  "luminance": 0.52545
}

Semantic roles & 50–950 ramp

primary
#CDC34D
secondary
#3A4084
accent
#54DF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC34D

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

Preview Lab → · Contrast checker → · Palette generator →

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