#4B7816#4B7816

#4B7816 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 52.1% C 0.133 H 131.9°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4B7816
RGBrgb(75, 120, 22)
HSLhsl(88, 69%, 28%)
HSVhsv(88, 82%, 47%)
CMYKcmyk(37.5%, 0%, 81.7%, 52.9%)
CIE-LABlab(45.62, -31.42, 44.92)
CIE-LCHlch(45.62, 54.82, 124.97°)
OKLaboklab(52.06% -0.089 0.0993)
OKLCHoklch(52.06% 0.133 131.9)
XYZxyz(9.7628, 14.9863, 3.1372)
Luminance0.1499 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7816 #431678
analogous
#787416 #4B7816 #1A7816
triadic
#4B7816 #164B78 #78164B
tetradic
#4B7816 #167874 #431678 #78161A
square
#4B7816 #167874 #431678 #78161A
split-complementary
#4B7816 #161A78 #741678
monochromatic
#101A05 #2B440D #4B7816 #6BAC1F #8BD92F

Accessibility & contrast

On white

5.25
#4B7816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4B7816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7816
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7816#FFFFFF#000000##FFFFFF
##4B78161.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#776B21
Tritanopia (blue-blind)
#4C7366
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4b7816;
/* rgb */ color: rgb(75, 120, 22);
/* oklch */ color: oklch(52.1% 0.133 131.9);
Tailwind
colors: {
  custom: {
    50: '#829f5c',
    500: '#4b7816',
    950: '#000000',
  },
}
SCSS
$custom: #4b7816;
$custom-light: #829f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7816",
  "rgb": {
    "r": 75,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 87.551,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52063,
    "c": 0.13335,
    "h": 131.9
  },
  "luminance": 0.14987
}

Semantic roles & 50–950 ramp

primary
#4B7816
secondary
#703CAD
accent
#3CEC8D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7816

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

Preview Lab → · Contrast checker → · Palette generator →

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