#4B7E1A#4B7E1A

#4B7E1A is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.7% C 0.139 H 133.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4B7E1A
RGBrgb(75, 126, 26)
HSLhsl(91, 66%, 30%)
HSVhsv(91, 79%, 49%)
CMYKcmyk(40.5%, 0%, 79.4%, 50.6%)
CIE-LABlab(47.61, -33.91, 45.46)
CIE-LCHlch(47.61, 56.71, 126.72°)
OKLaboklab(53.7% -0.0954 0.1011)
OKLCHoklch(53.7% 0.139 133.4)
XYZxyz(10.5488, 16.4916, 3.6045)
Luminance0.1649 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7E1A #4D1A7E
analogous
#7D7E1A #4B7E1A #1A7E1B
triadic
#4B7E1A #1A4B7E #7E1A4B
tetradic
#4B7E1A #1A7D7E #4D1A7E #7E1B1A
square
#4B7E1A #1A7D7E #4D1A7E #7E1B1A
split-complementary
#4B7E1A #1B1A7E #7E1A7D
monochromatic
#0F1905 #2D4B10 #4B7E1A #69B124 #88D73C

Accessibility & contrast

On white

4.89
#4B7E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#4B7E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7E1A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7E1A#FFFFFF#000000##FFFFFF
##4B7E1A1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837402
Deuteranopia (green-blind)
#7C7025
Tritanopia (blue-blind)
#4B796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4b7e1a;
/* rgb */ color: rgb(75, 126, 26);
/* oklch */ color: oklch(53.7% 0.139 133.4);
Tailwind
colors: {
  custom: {
    50: '#82a45f',
    500: '#4b7e1a',
    950: '#000000',
  },
}
SCSS
$custom: #4b7e1a;
$custom-light: #82a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7e1a",
  "rgb": {
    "r": 75,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 90.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53703,
    "c": 0.13901,
    "h": 133.4
  },
  "luminance": 0.16492
}

Semantic roles & 50–950 ramp

primary
#4B7E1A
secondary
#7B42B2
accent
#3FE996
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B7E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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