#C4C82F#C4C82F

#C4C82F 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#C4C82F
RGBrgb(196, 200, 47)
HSLhsl(62, 62%, 48%)
HSVhsv(62, 77%, 78%)
CMYKcmyk(2%, 0%, 76.5%, 21.6%)
CIE-LABlab(78.02, -18.67, 69.95)
CIE-LCHlch(78.02, 72.40, 104.95°)
OKLaboklab(80.41% -0.059 0.1528)
OKLCHoklch(80.41% 0.164 111.1)
XYZxyz(43.9339, 53.2507, 10.6529)
Luminance0.5325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C82F #332FC8
analogous
#C87F2F #C4C82F #77C82F
triadic
#C4C82F #2FC4C8 #C82FC4
tetradic
#C4C82F #2FC87F #332FC8 #C82F77
square
#C4C82F #2FC87F #332FC8 #C82F77
split-complementary
#C4C82F #2F77C8 #7F2FC8
monochromatic
#636518 #939623 #C4C82F #D5D95C #E2E48D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4C82F#FFFFFF#000000##000000
##C4C82F1.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: #c4c82f;
/* rgb */ color: rgb(196, 200, 47);
/* oklch */ color: oklch(80.4% 0.164 111.1);
Tailwind
colors: {
  custom: {
    50: '#dad874',
    500: '#c4c82f',
    950: '#000000',
  },
}
SCSS
$custom: #c4c82f;
$custom-light: #dad874;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c82f",
  "rgb": {
    "r": 196,
    "g": 200,
    "b": 47
  },
  "hsl": {
    "h": 61.569,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.80414,
    "c": 0.16377,
    "h": 111.1
  },
  "luminance": 0.5325
}

Semantic roles & 50–950 ramp

primary
#C4C82F
secondary
#2E2C6F
accent
#43E547
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C82F

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

Preview Lab → · Contrast checker → · Palette generator →

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