#CDC34B#CDC34B

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

Color values

HEX#CDC34B
RGBrgb(205, 195, 75)
HSLhsl(55, 57%, 55%)
HSVhsv(55, 63%, 80%)
CMYKcmyk(0%, 4.9%, 63.4%, 19.6%)
CIE-LABlab(77.59, -10.95, 59.53)
CIE-LCHlch(77.59, 60.53, 100.42°)
OKLaboklab(80.31% -0.0351 0.1352)
OKLCHoklch(80.31% 0.14 104.6)
XYZxyz(45.9636, 52.5190, 14.3713)
Luminance0.5252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC34B #4B55CD
analogous
#CD824B #CDC34B #96CD4B
triadic
#CDC34B #4BCDC3 #C34BCD
tetradic
#CDC34B #4BCD82 #4B55CD #CD4B96
square
#CDC34B #4BCD82 #4B55CD #CD4B96
split-complementary
#CDC34B #4B96CD #824BCD
monochromatic
#7B7422 #ABA230 #CDC34B #DAD37B #E8E3AB

Accessibility & contrast

On white

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

On black

11.50
#CDC34B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC34B
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC34B#FFFFFF#000000##000000
##CDC34B1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD3C
Deuteranopia (green-blind)
#D7C252
Tritanopia (blue-blind)
#DCB6AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc34b;
/* rgb */ color: rgb(205, 195, 75);
/* oklch */ color: oklch(80.3% 0.140 104.6);
Tailwind
colors: {
  custom: {
    50: '#dfd483',
    500: '#cdc34b',
    950: '#000000',
  },
}
SCSS
$custom: #cdc34b;
$custom-light: #dfd483;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc34b",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 75
  },
  "hsl": {
    "h": 55.385,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80305,
    "c": 0.13965,
    "h": 104.6
  },
  "luminance": 0.52517
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC34B

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

Preview Lab → · Contrast checker → · Palette generator →

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