#C4C842#C4C842

#C4C842 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.5% C 0.153 H 111.0°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#C4C842
RGBrgb(196, 200, 66)
HSLhsl(62, 55%, 52%)
HSVhsv(62, 67%, 78%)
CMYKcmyk(2%, 0%, 67%, 21.6%)
CIE-LABlab(78.13, -17.78, 63.49)
CIE-LCHlch(78.13, 65.93, 105.64°)
OKLaboklab(80.54% -0.0548 0.1424)
OKLCHoklch(80.54% 0.153 111)
XYZxyz(44.4040, 53.4388, 13.1288)
Luminance0.5344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C842 #4642C8
analogous
#C88942 #C4C842 #81C842
triadic
#C4C842 #42C4C8 #C842C4
tetradic
#C4C842 #42C889 #4642C8 #C84281
square
#C4C842 #42C889 #4642C8 #C84281
split-complementary
#C4C842 #4281C8 #8942C8
monochromatic
#6D6F20 #9B9F2E #C4C842 #D3D671 #E2E4A1

Accessibility & contrast

On white

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

On black

11.69
#C4C842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C842
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C842#FFFFFF#000000##000000
##C4C8421.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2E
Deuteranopia (green-blind)
#D8C34B
Tritanopia (blue-blind)
#D1BCAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c4c842;
/* rgb */ color: rgb(196, 200, 66);
/* oklch */ color: oklch(80.5% 0.153 111.0);
Tailwind
colors: {
  custom: {
    50: '#d9d87e',
    500: '#c4c842',
    950: '#000000',
  },
}
SCSS
$custom: #c4c842;
$custom-light: #d9d87e;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c842",
  "rgb": {
    "r": 196,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 61.791,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80538,
    "c": 0.15256,
    "h": 111
  },
  "luminance": 0.53438
}

Semantic roles & 50–950 ramp

primary
#C4C842
secondary
#383679
accent
#4ADE4E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C4C842

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

Preview Lab → · Contrast checker → · Palette generator →

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