#4B7617#4B7617

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

Color values

HEX#4B7617
RGBrgb(75, 118, 23)
HSLhsl(87, 67%, 28%)
HSVhsv(87, 81%, 46%)
CMYKcmyk(36.4%, 0%, 80.5%, 53.7%)
CIE-LABlab(44.96, -30.44, 43.97)
CIE-LCHlch(44.96, 53.48, 124.70°)
OKLaboklab(51.53% -0.0863 0.0975)
OKLCHoklch(51.53% 0.13 131.5)
XYZxyz(9.5346, 14.5142, 3.1096)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7617 #421776
analogous
#767117 #4B7617 #1B7617
triadic
#4B7617 #174B76 #76174B
tetradic
#4B7617 #177671 #421776 #76171B
square
#4B7617 #177671 #421776 #76171B
split-complementary
#4B7617 #171B76 #711776
monochromatic
#101A05 #2A430D #4B7617 #6CA921 #8CD731

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B7617#FFFFFF#000000##FFFFFF
##4B76171.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)
#766921
Tritanopia (blue-blind)
#4C7164
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4b7617;
/* rgb */ color: rgb(75, 118, 23);
/* oklch */ color: oklch(51.5% 0.130 131.5);
Tailwind
colors: {
  custom: {
    50: '#819e5d',
    500: '#4b7617',
    950: '#000000',
  },
}
SCSS
$custom: #4b7617;
$custom-light: #819e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7617",
  "rgb": {
    "r": 75,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 87.158,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51531,
    "c": 0.13018,
    "h": 131.5
  },
  "luminance": 0.14515
}

Semantic roles & 50–950 ramp

primary
#4B7617
secondary
#6F3EAB
accent
#3EEA8C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7617

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

Preview Lab → · Contrast checker → · Palette generator →

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