#4B7D1F#4B7D1F

#4B7D1F is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.5% C 0.135 H 133.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4B7D1F
RGBrgb(75, 125, 31)
HSLhsl(92, 60%, 31%)
HSVhsv(92, 75%, 49%)
CMYKcmyk(40%, 0%, 75.2%, 51%)
CIE-LABlab(47.32, -33.13, 43.34)
CIE-LCHlch(47.32, 54.55, 127.40°)
OKLaboklab(53.47% -0.093 0.0974)
OKLCHoklch(53.47% 0.135 133.7)
XYZxyz(10.4824, 16.2615, 3.8825)
Luminance0.1626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7D1F #511F7D
analogous
#7A7D1F #4B7D1F #1F7D22
triadic
#4B7D1F #1F4B7D #7D1F4B
tetradic
#4B7D1F #1F7A7D #511F7D #7D221F
square
#4B7D1F #1F7A7D #511F7D #7D221F
split-complementary
#4B7D1F #221F7D #7D1F7A
monochromatic
#101B07 #2E4C13 #4B7D1F #68AE2B #87D145

Accessibility & contrast

On white

4.94
#4B7D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#4B7D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7D1F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7D1F#FFFFFF#000000##FFFFFF
##4B7D1F1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730E
Deuteranopia (green-blind)
#7B6F28
Tritanopia (blue-blind)
#4B786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4b7d1f;
/* rgb */ color: rgb(75, 125, 31);
/* oklch */ color: oklch(53.5% 0.135 133.7);
Tailwind
colors: {
  custom: {
    50: '#82a361',
    500: '#4b7d1f',
    950: '#000000',
  },
}
SCSS
$custom: #4b7d1f;
$custom-light: #82a361;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7d1f",
  "rgb": {
    "r": 75,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 91.915,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5347,
    "c": 0.13466,
    "h": 133.7
  },
  "luminance": 0.16262
}

Semantic roles & 50–950 ramp

primary
#4B7D1F
secondary
#7F48B0
accent
#44E399
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4B7D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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