#CDC634#CDC634

#CDC634 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.8% C 0.158 H 106.6°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#CDC634
RGBrgb(205, 198, 52)
HSLhsl(57, 60%, 50%)
HSVhsv(57, 75%, 80%)
CMYKcmyk(0%, 3.4%, 74.6%, 19.6%)
CIE-LABlab(78.24, -13.66, 68.84)
CIE-LCHlch(78.24, 70.18, 101.22°)
OKLaboklab(80.77% -0.045 0.151)
OKLCHoklch(80.77% 0.158 106.6)
XYZxyz(45.9926, 53.6169, 11.1746)
Luminance0.5362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC634 #343BCD
analogous
#CD7934 #CDC634 #87CD34
triadic
#CDC634 #34CDC6 #C634CD
tetradic
#CDC634 #34CD79 #343BCD #CD3487
square
#CDC634 #34CD79 #343BCD #CD3487
split-complementary
#CDC634 #3487CD #7934CD
monochromatic
#6C681B #9D9827 #CDC634 #D9D465 #E5E296

Accessibility & contrast

On white

1.79
#CDC634 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#CDC634 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC634
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC634#FFFFFF#000000##000000
##CDC6341.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE13
Deuteranopia (green-blind)
#DAC43F
Tritanopia (blue-blind)
#DCB9AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc634;
/* rgb */ color: rgb(205, 198, 52);
/* oklch */ color: oklch(80.8% 0.158 106.6);
Tailwind
colors: {
  custom: {
    50: '#e0d777',
    500: '#cdc634',
    950: '#000000',
  },
}
SCSS
$custom: #cdc634;
$custom-light: #e0d777;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc634",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 52
  },
  "hsl": {
    "h": 57.255,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.80771,
    "c": 0.15754,
    "h": 106.6
  },
  "luminance": 0.53615
}

Semantic roles & 50–950 ramp

primary
#CDC634
secondary
#303376
accent
#4BE444
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CDC634

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

Preview Lab → · Contrast checker → · Palette generator →

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