#C4C82B#C4C82B

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

Color values

HEX#C4C82B
RGBrgb(196, 200, 43)
HSLhsl(62, 65%, 48%)
HSVhsv(62, 79%, 78%)
CMYKcmyk(2%, 0%, 78.5%, 21.6%)
CIE-LABlab(78.00, -18.82, 71.10)
CIE-LCHlch(78.00, 73.55, 104.83°)
OKLaboklab(80.39% -0.0597 0.1545)
OKLCHoklch(80.39% 0.166 111.1)
XYZxyz(43.8569, 53.2199, 10.2473)
Luminance0.5322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C82B #2F2BC8
analogous
#C87E2B #C4C82B #75C82B
triadic
#C4C82B #2BC4C8 #C82BC4
tetradic
#C4C82B #2BC87E #2F2BC8 #C82B75
square
#C4C82B #2BC87E #2F2BC8 #C82B75
split-complementary
#C4C82B #2B75C8 #7E2BC8
monochromatic
#616315 #939620 #C4C82B #D7DB56 #E3E588

Accessibility & contrast

On white

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

On black

11.64
#C4C82B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C82B
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C82B#FFFFFF#000000##000000
##C4C82B1.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4c82b;
/* rgb */ color: rgb(196, 200, 43);
/* oklch */ color: oklch(80.4% 0.166 111.1);
Tailwind
colors: {
  custom: {
    50: '#dad873',
    500: '#c4c82b',
    950: '#000000',
  },
}
SCSS
$custom: #c4c82b;
$custom-light: #dad873;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c82b",
  "rgb": {
    "r": 196,
    "g": 200,
    "b": 43
  },
  "hsl": {
    "h": 61.529,
    "s": 64.609,
    "l": 47.647
  },
  "oklch": {
    "l": 0.80394,
    "c": 0.16567,
    "h": 111.1
  },
  "luminance": 0.53219
}

Semantic roles & 50–950 ramp

primary
#C4C82B
secondary
#2B296E
accent
#40E844
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C82B

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

Preview Lab → · Contrast checker → · Palette generator →

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