#CDC34C#CDC34C

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

Color values

HEX#CDC34C
RGBrgb(205, 195, 76)
HSLhsl(55, 56%, 55%)
HSVhsv(55, 63%, 80%)
CMYKcmyk(0%, 4.9%, 62.9%, 19.6%)
CIE-LABlab(77.60, -10.88, 59.12)
CIE-LCHlch(77.60, 60.11, 100.43°)
OKLaboklab(80.31% -0.0348 0.1344)
OKLCHoklch(80.31% 0.139 104.5)
XYZxyz(45.9981, 52.5328, 14.5529)
Luminance0.5253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC34C #4C56CD
analogous
#CD834C #CDC34C #96CD4C
triadic
#CDC34C #4CCDC3 #C34CCD
tetradic
#CDC34C #4CCD83 #4C56CD #CD4C96
square
#CDC34C #4CCD83 #4C56CD #CD4C96
split-complementary
#CDC34C #4C96CD #834CCD
monochromatic
#7C7523 #ACA230 #CDC34C #DAD37C #E8E3AC

Accessibility & contrast

On white

1.83
#CDC34C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC34C#FFFFFF#000000##000000
##CDC34C1.001.8311.5111.51
#FFFFFF1.831.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc34c;
/* rgb */ color: rgb(205, 195, 76);
/* oklch */ color: oklch(80.3% 0.139 104.5);
Tailwind
colors: {
  custom: {
    50: '#dfd483',
    500: '#cdc34c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc34c;
$custom-light: #dfd483;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc34c",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 76
  },
  "hsl": {
    "h": 55.349,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80314,
    "c": 0.13887,
    "h": 104.5
  },
  "luminance": 0.52531
}

Semantic roles & 50–950 ramp

primary
#CDC34C
secondary
#393F84
accent
#54E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC34C

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

Preview Lab → · Contrast checker → · Palette generator →

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