#4B831B#4B831B

#4B831B is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.1% C 0.145 H 134.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4B831B
RGBrgb(75, 131, 27)
HSLhsl(92, 66%, 31%)
HSVhsv(92, 79%, 51%)
CMYKcmyk(42.7%, 0%, 79.4%, 48.6%)
CIE-LABlab(49.26, -36.05, 46.69)
CIE-LCHlch(49.26, 58.99, 127.68°)
OKLaboklab(55.06% -0.1012 0.1038)
OKLCHoklch(55.06% 0.145 134.3)
XYZxyz(11.2156, 17.8070, 3.8828)
Luminance0.1781 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B831B #531B83
analogous
#7F831B #4B831B #1B831F
triadic
#4B831B #1B4B83 #831B4B
tetradic
#4B831B #1B7F83 #531B83 #831F1B
square
#4B831B #1B7F83 #531B83 #831F1B
split-complementary
#4B831B #1F1B83 #831B7F
monochromatic
#111E06 #2E5011 #4B831B #68B625 #86D841

Accessibility & contrast

On white

4.60
#4B831B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#4B831B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4B831B
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B831B#FFFFFF#000000##FFFFFF
##4B831B1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887801
Deuteranopia (green-blind)
#817326
Tritanopia (blue-blind)
#4A7E70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4b831b;
/* rgb */ color: rgb(75, 131, 27);
/* oklch */ color: oklch(55.1% 0.145 134.3);
Tailwind
colors: {
  custom: {
    50: '#83a760',
    500: '#4b831b',
    950: '#000000',
  },
}
SCSS
$custom: #4b831b;
$custom-light: #83a760;
$custom-dark: #000000;
JSON
{
  "hex": "#4b831b",
  "rgb": {
    "r": 75,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 92.308,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55055,
    "c": 0.14494,
    "h": 134.3
  },
  "luminance": 0.17808
}

Semantic roles & 50–950 ramp

primary
#4B831B
secondary
#8143B6
accent
#3FE99A
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B831B

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

Preview Lab → · Contrast checker → · Palette generator →

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