#C4CD2B#C4CD2B

#C4CD2B is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.5% C 0.171 H 113.0°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#C4CD2B
RGBrgb(196, 205, 43)
HSLhsl(63, 65%, 49%)
HSVhsv(63, 79%, 80%)
CMYKcmyk(4.4%, 0%, 79%, 19.6%)
CIE-LABlab(79.37, -21.29, 72.31)
CIE-LCHlch(79.37, 75.38, 106.40°)
OKLaboklab(81.49% -0.0666 0.1571)
OKLCHoklch(81.49% 0.171 113)
XYZxyz(45.0338, 55.5739, 10.6396)
Luminance0.5557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CD2B #342BCD
analogous
#CD852B #C4CD2B #73CD2B
triadic
#C4CD2B #2BC4CD #CD2BC4
tetradic
#C4CD2B #2BCD85 #342BCD #CD2B73
square
#C4CD2B #2BCD85 #342BCD #CD2B73
split-complementary
#C4CD2B #2B73CD #852BCD
monochromatic
#636816 #949A20 #C4CD2B #D5DC59 #E2E78C

Accessibility & contrast

On white

1.73
#C4CD2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#C4CD2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CD2B
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CD2B#FFFFFF#000000##000000
##C4CD2B1.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC300
Deuteranopia (green-blind)
#DDC63B
Tritanopia (blue-blind)
#D2C0B0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c4cd2b;
/* rgb */ color: rgb(196, 205, 43);
/* oklch */ color: oklch(81.5% 0.171 113.0);
Tailwind
colors: {
  custom: {
    50: '#dadc73',
    500: '#c4cd2b',
    950: '#000000',
  },
}
SCSS
$custom: #c4cd2b;
$custom-light: #dadc73;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cd2b",
  "rgb": {
    "r": 196,
    "g": 205,
    "b": 43
  },
  "hsl": {
    "h": 63.333,
    "s": 65.323,
    "l": 48.627
  },
  "oklch": {
    "l": 0.81488,
    "c": 0.17063,
    "h": 113
  },
  "luminance": 0.55573
}

Semantic roles & 50–950 ramp

primary
#C4CD2B
secondary
#2E2A72
accent
#40E849
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C4CD2B

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

Preview Lab → · Contrast checker → · Palette generator →

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