#4B7420#4B7420

#4B7420 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.1% C 0.122 H 132.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4B7420
RGBrgb(75, 116, 32)
HSLhsl(89, 57%, 29%)
HSVhsv(89, 72%, 45%)
CMYKcmyk(35.3%, 0%, 72.4%, 54.5%)
CIE-LABlab(44.36, -28.90, 39.94)
CIE-LCHlch(44.36, 49.30, 125.89°)
OKLaboklab(51.06% -0.0814 0.0905)
OKLCHoklch(51.06% 0.122 132)
XYZxyz(9.4076, 14.0906, 3.5903)
Luminance0.1409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7420 #492074
analogous
#747320 #4B7420 #217420
triadic
#4B7420 #204B74 #74204B
tetradic
#4B7420 #207473 #492074 #742021
square
#4B7420 #207473 #492074 #742021
split-complementary
#4B7420 #202174 #732074
monochromatic
#101807 #2C4413 #4B7420 #6AA42D #89CB43

Accessibility & contrast

On white

5.50
#4B7420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4B7420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7420
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7420#FFFFFF#000000##FFFFFF
##4B74201.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B13
Deuteranopia (green-blind)
#736827
Tritanopia (blue-blind)
#4C6F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4b7420;
/* rgb */ color: rgb(75, 116, 32);
/* oklch */ color: oklch(51.1% 0.122 132.0);
Tailwind
colors: {
  custom: {
    50: '#819c61',
    500: '#4b7420',
    950: '#000000',
  },
}
SCSS
$custom: #4b7420;
$custom-light: #819c61;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7420",
  "rgb": {
    "r": 75,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 89.286,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51061,
    "c": 0.12168,
    "h": 132
  },
  "luminance": 0.14091
}

Semantic roles & 50–950 ramp

primary
#4B7420
secondary
#7748A8
accent
#48E092
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4B7420

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

Preview Lab → · Contrast checker → · Palette generator →

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