#C4C837#C4C837

#C4C837 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.5% C 0.160 H 111.1°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#C4C837
RGBrgb(196, 200, 55)
HSLhsl(62, 57%, 50%)
HSVhsv(62, 73%, 78%)
CMYKcmyk(2%, 0%, 72.5%, 21.6%)
CIE-LABlab(78.06, -18.34, 67.42)
CIE-LCHlch(78.06, 69.87, 105.22°)
OKLaboklab(80.46% -0.0574 0.1488)
OKLCHoklch(80.46% 0.16 111.1)
XYZxyz(44.1103, 53.3213, 11.5821)
Luminance0.5332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C837 #3B37C8
analogous
#C88337 #C4C837 #7CC837
triadic
#C4C837 #37C4C8 #C837C4
tetradic
#C4C837 #37C883 #3B37C8 #C8377C
square
#C4C837 #37C883 #3B37C8 #C8377C
split-complementary
#C4C837 #377CC8 #8337C8
monochromatic
#66681D #95982A #C4C837 #D2D567 #E0E297

Accessibility & contrast

On white

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

On black

11.66
#C4C837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C837
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C837#FFFFFF#000000##000000
##C4C8371.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF1A
Deuteranopia (green-blind)
#D9C342
Tritanopia (blue-blind)
#D2BCAC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c4c837;
/* rgb */ color: rgb(196, 200, 55);
/* oklch */ color: oklch(80.5% 0.160 111.1);
Tailwind
colors: {
  custom: {
    50: '#dad878',
    500: '#c4c837',
    950: '#000000',
  },
}
SCSS
$custom: #c4c837;
$custom-light: #dad878;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c837",
  "rgb": {
    "r": 196,
    "g": 200,
    "b": 55
  },
  "hsl": {
    "h": 61.655,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.80461,
    "c": 0.1595,
    "h": 111.1
  },
  "luminance": 0.5332
}

Semantic roles & 50–950 ramp

primary
#C4C837
secondary
#333172
accent
#48E04C
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C4C837

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

Preview Lab → · Contrast checker → · Palette generator →

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