#4B8124#4B8124

#4B8124 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.6% C 0.137 H 134.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4B8124
RGBrgb(75, 129, 36)
HSLhsl(95, 56%, 32%)
HSVhsv(95, 72%, 51%)
CMYKcmyk(41.9%, 0%, 72.1%, 49.4%)
CIE-LABlab(48.66, -34.55, 42.71)
CIE-LCHlch(48.66, 54.93, 128.97°)
OKLaboklab(54.58% -0.0964 0.0969)
OKLCHoklch(54.58% 0.137 134.9)
XYZxyz(11.0701, 17.3232, 4.4291)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8124 #5A2481
analogous
#7A8124 #4B8124 #24812C
triadic
#4B8124 #244B81 #81244B
tetradic
#4B8124 #247A81 #5A2481 #812C24
square
#4B8124 #247A81 #5A2481 #812C24
split-complementary
#4B8124 #2C2481 #81247A
monochromatic
#132109 #2F5117 #4B8124 #67B131 #86CE51

Accessibility & contrast

On white

4.70
#4B8124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4B8124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B8124
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8124#FFFFFF#000000##FFFFFF
##4B81241.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867615
Deuteranopia (green-blind)
#7F722C
Tritanopia (blue-blind)
#4A7C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4b8124;
/* rgb */ color: rgb(75, 129, 36);
/* oklch */ color: oklch(54.6% 0.137 134.9);
Tailwind
colors: {
  custom: {
    50: '#82a665',
    500: '#4b8124',
    950: '#000000',
  },
}
SCSS
$custom: #4b8124;
$custom-light: #82a665;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8124",
  "rgb": {
    "r": 75,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 94.839,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54585,
    "c": 0.13666,
    "h": 134.9
  },
  "luminance": 0.17324
}

Semantic roles & 50–950 ramp

primary
#4B8124
secondary
#884EB2
accent
#48E0A0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4B8124

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

Preview Lab → · Contrast checker → · Palette generator →

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