#4B841B#4B841B

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

Color values

HEX#4B841B
RGBrgb(75, 132, 27)
HSLhsl(93, 66%, 31%)
HSVhsv(93, 80%, 52%)
CMYKcmyk(43.2%, 0%, 79.5%, 48.2%)
CIE-LABlab(49.59, -36.49, 47.00)
CIE-LCHlch(49.59, 59.50, 127.82°)
OKLaboklab(55.32% -0.1023 0.1045)
OKLCHoklch(55.32% 0.146 134.4)
XYZxyz(11.3505, 18.0769, 3.9278)
Luminance0.1808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B841B #541B84
analogous
#7F841B #4B841B #1B841F
triadic
#4B841B #1B4B84 #841B4B
tetradic
#4B841B #1B7F84 #541B84 #841F1B
square
#4B841B #1B7F84 #541B84 #841F1B
split-complementary
#4B841B #1F1B84 #841B7F
monochromatic
#111E06 #2E5111 #4B841B #68B725 #86D841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B841B#FFFFFF#000000##000000
##4B841B1.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)
#897901
Deuteranopia (green-blind)
#827426
Tritanopia (blue-blind)
#4A7F70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4b841b;
/* rgb */ color: rgb(75, 132, 27);
/* oklch */ color: oklch(55.3% 0.146 134.4);
Tailwind
colors: {
  custom: {
    50: '#83a860',
    500: '#4b841b',
    950: '#000000',
  },
}
SCSS
$custom: #4b841b;
$custom-light: #83a860;
$custom-dark: #000000;
JSON
{
  "hex": "#4b841b",
  "rgb": {
    "r": 75,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 92.571,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55324,
    "c": 0.14623,
    "h": 134.4
  },
  "luminance": 0.18078
}

Semantic roles & 50–950 ramp

primary
#4B841B
secondary
#8243B7
accent
#3FE99B
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B841B

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

Preview Lab → · Contrast checker → · Palette generator →

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