#4B7616#4B7616

#4B7616 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.5% C 0.131 H 131.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4B7616
RGBrgb(75, 118, 22)
HSLhsl(87, 69%, 27%)
HSVhsv(87, 81%, 46%)
CMYKcmyk(36.4%, 0%, 81.4%, 53.7%)
CIE-LABlab(44.96, -30.50, 44.30)
CIE-LCHlch(44.96, 53.79, 124.54°)
OKLaboklab(51.53% -0.0865 0.098)
OKLCHoklch(51.53% 0.131 131.4)
XYZxyz(9.5248, 14.5103, 3.0578)
Luminance0.1451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7616 #411676
analogous
#767116 #4B7616 #1B7616
triadic
#4B7616 #164B76 #76164B
tetradic
#4B7616 #167671 #411676 #76161B
square
#4B7616 #167671 #411676 #76161B
split-complementary
#4B7616 #161B76 #711676
monochromatic
#101A05 #2A420C #4B7616 #6CAA20 #8CD82E

Accessibility & contrast

On white

5.38
#4B7616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4B7616 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7616
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7616#FFFFFF#000000##FFFFFF
##4B76161.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#766920
Tritanopia (blue-blind)
#4C7164
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4b7616;
/* rgb */ color: rgb(75, 118, 22);
/* oklch */ color: oklch(51.5% 0.131 131.4);
Tailwind
colors: {
  custom: {
    50: '#829e5c',
    500: '#4b7616',
    950: '#000000',
  },
}
SCSS
$custom: #4b7616;
$custom-light: #829e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7616",
  "rgb": {
    "r": 75,
    "g": 118,
    "b": 22
  },
  "hsl": {
    "h": 86.875,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51525,
    "c": 0.13072,
    "h": 131.4
  },
  "luminance": 0.14511
}

Semantic roles & 50–950 ramp

primary
#4B7616
secondary
#6E3CAC
accent
#3CEB8B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7616

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

Preview Lab → · Contrast checker → · Palette generator →

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