#4B7D20#4B7D20

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

Color values

HEX#4B7D20
RGBrgb(75, 125, 32)
HSLhsl(92, 59%, 31%)
HSVhsv(92, 74%, 49%)
CMYKcmyk(40%, 0%, 74.4%, 51%)
CIE-LABlab(47.32, -33.06, 42.95)
CIE-LCHlch(47.32, 54.20, 127.59°)
OKLaboklab(53.48% -0.0927 0.0968)
OKLCHoklch(53.48% 0.134 133.8)
XYZxyz(10.4958, 16.2669, 3.9530)
Luminance0.1627 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7D20 #52207D
analogous
#797D20 #4B7D20 #207D23
triadic
#4B7D20 #204B7D #7D204B
tetradic
#4B7D20 #20797D #52207D #7D2320
square
#4B7D20 #20797D #52207D #7D2320
split-complementary
#4B7D20 #23207D #7D2079
monochromatic
#111C07 #2E4C14 #4B7D20 #68AE2C #87D047

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B7D20#FFFFFF#000000##FFFFFF
##4B7D201.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)
#827310
Deuteranopia (green-blind)
#7B6F29
Tritanopia (blue-blind)
#4B786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4b7d20;
/* rgb */ color: rgb(75, 125, 32);
/* oklch */ color: oklch(53.5% 0.134 133.8);
Tailwind
colors: {
  custom: {
    50: '#82a362',
    500: '#4b7d20',
    950: '#000000',
  },
}
SCSS
$custom: #4b7d20;
$custom-light: #82a362;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7d20",
  "rgb": {
    "r": 75,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 92.258,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53478,
    "c": 0.13401,
    "h": 133.8
  },
  "luminance": 0.16267
}

Semantic roles & 50–950 ramp

primary
#4B7D20
secondary
#8049B0
accent
#45E29A
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4B7D20

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

Preview Lab → · Contrast checker → · Palette generator →

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