#4B7E1F#4B7E1F

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

Color values

HEX#4B7E1F
RGBrgb(75, 126, 31)
HSLhsl(92, 61%, 31%)
HSVhsv(92, 75%, 49%)
CMYKcmyk(40.5%, 0%, 75.4%, 50.6%)
CIE-LABlab(47.64, -33.58, 43.66)
CIE-LCHlch(47.64, 55.09, 127.57°)
OKLaboklab(53.74% -0.0942 0.0981)
OKLCHoklch(53.74% 0.136 133.8)
XYZxyz(10.6096, 16.5160, 3.9249)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7E1F #521F7E
analogous
#7A7E1F #4B7E1F #1F7E23
triadic
#4B7E1F #1F4B7E #7E1F4B
tetradic
#4B7E1F #1F7A7E #521F7E #7E231F
square
#4B7E1F #1F7A7E #521F7E #7E231F
split-complementary
#4B7E1F #231F7E #7E1F7A
monochromatic
#111C07 #2E4D13 #4B7E1F #68AF2B #87D146

Accessibility & contrast

On white

4.88
#4B7E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4B7E1F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7E1F#FFFFFF#000000##FFFFFF
##4B7E1F1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83740D
Deuteranopia (green-blind)
#7C7028
Tritanopia (blue-blind)
#4B796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4b7e1f;
/* rgb */ color: rgb(75, 126, 31);
/* oklch */ color: oklch(53.7% 0.136 133.8);
Tailwind
colors: {
  custom: {
    50: '#82a462',
    500: '#4b7e1f',
    950: '#000000',
  },
}
SCSS
$custom: #4b7e1f;
$custom-light: #82a462;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7e1f",
  "rgb": {
    "r": 75,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 92.211,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53739,
    "c": 0.136,
    "h": 133.8
  },
  "luminance": 0.16516
}

Semantic roles & 50–950 ramp

primary
#4B7E1F
secondary
#8048B1
accent
#44E49A
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4B7E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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