#4B7E16#4B7E16

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

Color values

HEX#4B7E16
RGBrgb(75, 126, 22)
HSLhsl(89, 70%, 29%)
HSVhsv(89, 83%, 49%)
CMYKcmyk(40.5%, 0%, 82.5%, 50.6%)
CIE-LABlab(47.59, -34.13, 46.75)
CIE-LCHlch(47.59, 57.89, 126.13°)
OKLaboklab(53.68% -0.0963 0.1031)
OKLCHoklch(53.68% 0.141 133)
XYZxyz(10.5072, 16.4750, 3.3853)
Luminance0.1648 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7E16 #49167E
analogous
#7E7D16 #4B7E16 #177E16
triadic
#4B7E16 #164B7E #7E164B
tetradic
#4B7E16 #167E7D #49167E #7E1617
square
#4B7E16 #167E7D #49167E #7E1617
split-complementary
#4B7E16 #16177E #7D167E
monochromatic
#101A05 #2C4A0D #4B7E16 #6AB21F #89DB33

Accessibility & contrast

On white

4.89
#4B7E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4B7E16
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7E16#FFFFFF#000000##FFFFFF
##4B7E161.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7D6F22
Tritanopia (blue-blind)
#4B796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4b7e16;
/* rgb */ color: rgb(75, 126, 22);
/* oklch */ color: oklch(53.7% 0.141 133.0);
Tailwind
colors: {
  custom: {
    50: '#82a45d',
    500: '#4b7e16',
    950: '#000000',
  },
}
SCSS
$custom: #4b7e16;
$custom-light: #82a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7e16",
  "rgb": {
    "r": 75,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 89.423,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53679,
    "c": 0.14111,
    "h": 133
  },
  "luminance": 0.16475
}

Semantic roles & 50–950 ramp

primary
#4B7E16
secondary
#773DB3
accent
#3BED92
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B7E16

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

Preview Lab → · Contrast checker → · Palette generator →

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