#4C851F#4C851F

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

Color values

HEX#4C851F
RGBrgb(76, 133, 31)
HSLhsl(94, 62%, 32%)
HSVhsv(94, 77%, 52%)
CMYKcmyk(42.9%, 0%, 76.7%, 47.8%)
CIE-LABlab(49.99, -36.32, 46.00)
CIE-LCHlch(49.99, 58.61, 128.29°)
OKLaboklab(55.67% -0.1016 0.103)
OKLCHoklch(55.67% 0.145 134.6)
XYZxyz(11.6151, 18.4099, 4.2375)
Luminance0.1841 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C851F #581F85
analogous
#7F851F #4C851F #1F8525
triadic
#4C851F #1F4C85 #851F4C
tetradic
#4C851F #1F7F85 #581F85 #85251F
square
#4C851F #1F7F85 #581F85 #85251F
split-complementary
#4C851F #251F85 #851F7F
monochromatic
#132208 #305313 #4C851F #68B72B #87D54A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C851F#FFFFFF#000000##000000
##4C851F1.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)
#8A7A09
Deuteranopia (green-blind)
#837529
Tritanopia (blue-blind)
#4B8071
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4c851f;
/* rgb */ color: rgb(76, 133, 31);
/* oklch */ color: oklch(55.7% 0.145 134.6);
Tailwind
colors: {
  custom: {
    50: '#83a962',
    500: '#4c851f',
    950: '#000000',
  },
}
SCSS
$custom: #4c851f;
$custom-light: #83a962;
$custom-dark: #000000;
JSON
{
  "hex": "#4c851f",
  "rgb": {
    "r": 76,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 93.529,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55672,
    "c": 0.14469,
    "h": 134.6
  },
  "luminance": 0.1841
}

Semantic roles & 50–950 ramp

primary
#4C851F
secondary
#8649B7
accent
#43E59D
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4C851F

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

Preview Lab → · Contrast checker → · Palette generator →

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