#4B881F#4B881F

#4B881F is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.4% C 0.149 H 135.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4B881F
RGBrgb(75, 136, 31)
HSLhsl(95, 63%, 33%)
HSVhsv(95, 77%, 53%)
CMYKcmyk(44.9%, 0%, 77.2%, 46.7%)
CIE-LABlab(50.92, -37.96, 46.89)
CIE-LCHlch(50.92, 60.33, 128.99°)
OKLaboklab(56.43% -0.106 0.1049)
OKLCHoklch(56.43% 0.149 135.3)
XYZxyz(11.9529, 19.2024, 4.3727)
Luminance0.1920 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B881F #5C1F88
analogous
#7F881F #4B881F #1F8827
triadic
#4B881F #1F4B88 #881F4B
tetradic
#4B881F #1F7F88 #5C1F88 #88271F
square
#4B881F #1F7F88 #5C1F88 #88271F
split-complementary
#4B881F #271F88 #881F7F
monochromatic
#142408 #305614 #4B881F #66BA2A #85D64B

Accessibility & contrast

On white

4.34
#4B881F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#4B881F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B881F
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B881F#FFFFFF#000000##000000
##4B881F1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C08
Deuteranopia (green-blind)
#85772A
Tritanopia (blue-blind)
#498374
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4b881f;
/* rgb */ color: rgb(75, 136, 31);
/* oklch */ color: oklch(56.4% 0.149 135.3);
Tailwind
colors: {
  custom: {
    50: '#83ab63',
    500: '#4b881f',
    950: '#000000',
  },
}
SCSS
$custom: #4b881f;
$custom-light: #83ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#4b881f",
  "rgb": {
    "r": 75,
    "g": 136,
    "b": 31
  },
  "hsl": {
    "h": 94.857,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56425,
    "c": 0.14911,
    "h": 135.3
  },
  "luminance": 0.19203
}

Semantic roles & 50–950 ramp

primary
#4B881F
secondary
#8A4AB9
accent
#42E6A1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4B881F

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

Preview Lab → · Contrast checker → · Palette generator →

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