#C4C82D#C4C82D

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

Color values

HEX#C4C82D
RGBrgb(196, 200, 45)
HSLhsl(62, 63%, 48%)
HSVhsv(62, 78%, 78%)
CMYKcmyk(2%, 0%, 77.5%, 21.6%)
CIE-LABlab(78.01, -18.75, 70.54)
CIE-LCHlch(78.01, 72.99, 104.89°)
OKLaboklab(80.4% -0.0594 0.1537)
OKLCHoklch(80.4% 0.165 111.1)
XYZxyz(43.8944, 53.2350, 10.4453)
Luminance0.5323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C82D #312DC8
analogous
#C87E2D #C4C82D #77C82D
triadic
#C4C82D #2DC4C8 #C82DC4
tetradic
#C4C82D #2DC87E #312DC8 #C82D77
square
#C4C82D #2DC87E #312DC8 #C82D77
split-complementary
#C4C82D #2D77C8 #7E2DC8
monochromatic
#626417 #939622 #C4C82D #D6DA59 #E2E58B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4C82D#FFFFFF#000000##000000
##C4C82D1.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)
#D9C33B
Tritanopia (blue-blind)
#D2BBAC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c4c82d;
/* rgb */ color: rgb(196, 200, 45);
/* oklch */ color: oklch(80.4% 0.165 111.1);
Tailwind
colors: {
  custom: {
    50: '#dad874',
    500: '#c4c82d',
    950: '#000000',
  },
}
SCSS
$custom: #c4c82d;
$custom-light: #dad874;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c82d",
  "rgb": {
    "r": 196,
    "g": 200,
    "b": 45
  },
  "hsl": {
    "h": 61.548,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.80404,
    "c": 0.16474,
    "h": 111.1
  },
  "luminance": 0.53234
}

Semantic roles & 50–950 ramp

primary
#C4C82D
secondary
#2C2B6F
accent
#41E646
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C82D

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

Preview Lab → · Contrast checker → · Palette generator →

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