#C4C82E#C4C82E

#C4C82E is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.4% C 0.164 H 111.1°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#C4C82E
RGBrgb(196, 200, 46)
HSLhsl(62, 63%, 48%)
HSVhsv(62, 77%, 78%)
CMYKcmyk(2%, 0%, 77%, 21.6%)
CIE-LABlab(78.02, -18.71, 70.25)
CIE-LCHlch(78.02, 72.70, 104.92°)
OKLaboklab(80.41% -0.0592 0.1532)
OKLCHoklch(80.41% 0.164 111.1)
XYZxyz(43.9139, 53.2428, 10.5479)
Luminance0.5324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C82E #322EC8
analogous
#C87F2E #C4C82E #77C82E
triadic
#C4C82E #2EC4C8 #C82EC4
tetradic
#C4C82E #2EC87F #322EC8 #C82E77
square
#C4C82E #2EC87F #322EC8 #C82E77
split-complementary
#C4C82E #2E77C8 #7F2EC8
monochromatic
#626417 #939623 #C4C82E #D6D95A #E2E58C

Accessibility & contrast

On white

1.80
#C4C82E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#C4C82E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C82E
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C82E#FFFFFF#000000##000000
##C4C82E1.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF00
Deuteranopia (green-blind)
#D9C33C
Tritanopia (blue-blind)
#D2BBAC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c4c82e;
/* rgb */ color: rgb(196, 200, 46);
/* oklch */ color: oklch(80.4% 0.164 111.1);
Tailwind
colors: {
  custom: {
    50: '#dad874',
    500: '#c4c82e',
    950: '#000000',
  },
}
SCSS
$custom: #c4c82e;
$custom-light: #dad874;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c82e",
  "rgb": {
    "r": 196,
    "g": 200,
    "b": 46
  },
  "hsl": {
    "h": 61.558,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.80409,
    "c": 0.16426,
    "h": 111.1
  },
  "luminance": 0.53242
}

Semantic roles & 50–950 ramp

primary
#C4C82E
secondary
#2D2B6F
accent
#42E646
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C82E

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

Preview Lab → · Contrast checker → · Palette generator →

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