#4C851B#4C851B

#4C851B is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.6% C 0.147 H 134.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4C851B
RGBrgb(76, 133, 27)
HSLhsl(92, 66%, 31%)
HSVhsv(92, 80%, 52%)
CMYKcmyk(42.9%, 0%, 79.7%, 47.8%)
CIE-LABlab(49.97, -36.57, 47.38)
CIE-LCHlch(49.97, 59.85, 127.66°)
OKLaboklab(55.65% -0.1026 0.1052)
OKLCHoklch(55.65% 0.147 134.3)
XYZxyz(11.5656, 18.3901, 3.9769)
Luminance0.1839 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C851B #541B85
analogous
#81851B #4C851B #1B851F
triadic
#4C851B #1B4C85 #851B4C
tetradic
#4C851B #1B8185 #541B85 #851F1B
square
#4C851B #1B8185 #541B85 #851F1B
split-complementary
#4C851B #1F1B85 #851B81
monochromatic
#121F06 #2F5211 #4C851B #69B825 #88D942

Accessibility & contrast

On white

4.49
#4C851B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#4C851B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C851B
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C851B#FFFFFF#000000##000000
##4C851B1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#837527
Tritanopia (blue-blind)
#4B8071
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4c851b;
/* rgb */ color: rgb(76, 133, 27);
/* oklch */ color: oklch(55.6% 0.147 134.3);
Tailwind
colors: {
  custom: {
    50: '#84a961',
    500: '#4c851b',
    950: '#000000',
  },
}
SCSS
$custom: #4c851b;
$custom-light: #84a961;
$custom-dark: #000000;
JSON
{
  "hex": "#4c851b",
  "rgb": {
    "r": 76,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 92.264,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55646,
    "c": 0.14696,
    "h": 134.3
  },
  "luminance": 0.18391
}

Semantic roles & 50–950 ramp

primary
#4C851B
secondary
#8244B8
accent
#3FE99A
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4C851B

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

Preview Lab → · Contrast checker → · Palette generator →

#4C851B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva