#4B7016#4B7016

#4B7016 is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.9% C 0.123 H 130.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4B7016
RGBrgb(75, 112, 22)
HSLhsl(85, 67%, 26%)
HSVhsv(85, 80%, 44%)
CMYKcmyk(33%, 0%, 80.4%, 56.1%)
CIE-LABlab(42.98, -27.66, 42.44)
CIE-LCHlch(42.98, 50.66, 123.10°)
OKLaboklab(49.91% -0.0789 0.0941)
OKLCHoklch(49.91% 0.123 130)
XYZxyz(8.8406, 13.1418, 2.8297)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7016 #3B1670
analogous
#706816 #4B7016 #1E7016
triadic
#4B7016 #164B70 #70164B
tetradic
#4B7016 #167068 #3B1670 #70161E
square
#4B7016 #167068 #3B1670 #70161E
split-complementary
#4B7016 #161E70 #681670
monochromatic
#111A05 #293D0C #4B7016 #6DA320 #8FD52B

Accessibility & contrast

On white

5.79
#4B7016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4B7016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7016
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7016#FFFFFF#000000##FFFFFF
##4B70161.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766701
Deuteranopia (green-blind)
#70651F
Tritanopia (blue-blind)
#4D6B5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4b7016;
/* rgb */ color: rgb(75, 112, 22);
/* oklch */ color: oklch(49.9% 0.123 130.0);
Tailwind
colors: {
  custom: {
    50: '#81995b',
    500: '#4b7016',
    950: '#000000',
  },
}
SCSS
$custom: #4b7016;
$custom-light: #81995b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7016",
  "rgb": {
    "r": 75,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 84.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.4991,
    "c": 0.12276,
    "h": 130
  },
  "luminance": 0.13142
}

Semantic roles & 50–950 ramp

primary
#4B7016
secondary
#673CA6
accent
#3EEA85
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7016

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

Preview Lab → · Contrast checker → · Palette generator →

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