#4B7B2F#4B7B2F

#4B7B2F is a mid, moderate yellow-green. Relative luminance 0.159; OKLCH L 53.1% C 0.119 H 135.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4B7B2F
RGBrgb(75, 123, 47)
HSLhsl(98, 45%, 33%)
HSVhsv(98, 62%, 48%)
CMYKcmyk(39%, 0%, 61.8%, 51.8%)
CIE-LABlab(46.80, -30.79, 35.72)
CIE-LCHlch(46.80, 47.16, 130.76°)
OKLaboklab(53.09% -0.0853 0.0835)
OKLCHoklch(53.09% 0.119 135.6)
XYZxyz(10.4974, 15.8665, 5.1982)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7B2F #5F2F7B
analogous
#717B2F #4B7B2F #2F7B39
triadic
#4B7B2F #2F4B7B #7B2F4B
tetradic
#4B7B2F #2F717B #5F2F7B #7B392F
square
#4B7B2F #2F717B #5F2F7B #7B392F
split-complementary
#4B7B2F #392F7B #7B2F71
monochromatic
#15220D #304F1E #4B7B2F #66A740 #85C362

Accessibility & contrast

On white

5.03
#4B7B2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#4B7B2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7B2F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7B2F#FFFFFF#000000##FFFFFF
##4B7B2F1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7127
Deuteranopia (green-blind)
#796D35
Tritanopia (blue-blind)
#4A776B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4b7b2f;
/* rgb */ color: rgb(75, 123, 47);
/* oklch */ color: oklch(53.1% 0.119 135.6);
Tailwind
colors: {
  custom: {
    50: '#81a16a',
    500: '#4b7b2f',
    950: '#000000',
  },
}
SCSS
$custom: #4b7b2f;
$custom-light: #81a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7b2f",
  "rgb": {
    "r": 75,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 97.895,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53093,
    "c": 0.11935,
    "h": 135.6
  },
  "luminance": 0.15867
}

Semantic roles & 50–950 ramp

primary
#4B7B2F
secondary
#8D5CAA
accent
#53D4A5
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F07
muted
#7C7E7A

Preview Lab

Preview with #4B7B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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