#4B841F#4B841F

#4B841F is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.4% C 0.144 H 134.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4B841F
RGBrgb(75, 132, 31)
HSLhsl(94, 62%, 32%)
HSVhsv(94, 77%, 52%)
CMYKcmyk(43.2%, 0%, 76.5%, 48.2%)
CIE-LABlab(49.61, -36.23, 45.61)
CIE-LCHlch(49.61, 58.25, 128.46°)
OKLaboklab(55.35% -0.1014 0.1022)
OKLCHoklch(55.35% 0.144 134.8)
XYZxyz(11.4000, 18.0967, 4.1884)
Luminance0.1810 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B841F #581F84
analogous
#7E841F #4B841F #1F8425
triadic
#4B841F #1F4B84 #841F4B
tetradic
#4B841F #1F7E84 #581F84 #84251F
square
#4B841F #1F7E84 #581F84 #84251F
split-complementary
#4B841F #251F84 #841F7E
monochromatic
#132108 #2F5213 #4B841F #67B62B #86D449

Accessibility & contrast

On white

4.55
#4B841F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#4B841F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B841F
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B841F#FFFFFF#000000##000000
##4B841F1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790A
Deuteranopia (green-blind)
#817429
Tritanopia (blue-blind)
#4A7F71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4b841f;
/* rgb */ color: rgb(75, 132, 31);
/* oklch */ color: oklch(55.4% 0.144 134.8);
Tailwind
colors: {
  custom: {
    50: '#83a862',
    500: '#4b841f',
    950: '#000000',
  },
}
SCSS
$custom: #4b841f;
$custom-light: #83a862;
$custom-dark: #000000;
JSON
{
  "hex": "#4b841f",
  "rgb": {
    "r": 75,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 93.861,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55351,
    "c": 0.14393,
    "h": 134.8
  },
  "luminance": 0.18097
}

Semantic roles & 50–950 ramp

primary
#4B841F
secondary
#8748B7
accent
#43E59E
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4B841F

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

Preview Lab → · Contrast checker → · Palette generator →

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