#CDC34E#CDC34E

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

Color values

HEX#CDC34E
RGBrgb(205, 195, 78)
HSLhsl(55, 56%, 55%)
HSVhsv(55, 62%, 80%)
CMYKcmyk(0%, 4.9%, 62%, 19.6%)
CIE-LABlab(77.62, -10.75, 58.28)
CIE-LCHlch(77.62, 59.27, 100.45°)
OKLaboklab(80.33% -0.0342 0.133)
OKLCHoklch(80.33% 0.137 104.4)
XYZxyz(46.0688, 52.5611, 14.9249)
Luminance0.5256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC34E #4E58CD
analogous
#CD844E #CDC34E #97CD4E
triadic
#CDC34E #4ECDC3 #C34ECD
tetradic
#CDC34E #4ECD84 #4E58CD #CD4E97
square
#CDC34E #4ECD84 #4E58CD #CD4E97
split-complementary
#CDC34E #4E97CD #844ECD
monochromatic
#7D7623 #ADA331 #CDC34E #DAD37E #E8E3AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC34E#FFFFFF#000000##000000
##CDC34E1.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)
#D3BD40
Deuteranopia (green-blind)
#D7C255
Tritanopia (blue-blind)
#DBB7AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc34e;
/* rgb */ color: rgb(205, 195, 78);
/* oklch */ color: oklch(80.3% 0.137 104.4);
Tailwind
colors: {
  custom: {
    50: '#dfd485',
    500: '#cdc34e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc34e;
$custom-light: #dfd485;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc34e",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 78
  },
  "hsl": {
    "h": 55.276,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80333,
    "c": 0.13729,
    "h": 104.4
  },
  "luminance": 0.52559
}

Semantic roles & 50–950 ramp

primary
#CDC34E
secondary
#3A4085
accent
#54DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC34E

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

Preview Lab → · Contrast checker → · Palette generator →

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