#4B7514#4B7514

#4B7514 is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.2% C 0.130 H 131.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4B7514
RGBrgb(75, 117, 20)
HSLhsl(86, 71%, 27%)
HSVhsv(86, 83%, 46%)
CMYKcmyk(35.9%, 0%, 82.9%, 54.1%)
CIE-LABlab(44.62, -30.14, 44.64)
CIE-LCHlch(44.62, 53.86, 124.03°)
OKLaboklab(51.24% -0.0857 0.0984)
OKLCHoklch(51.24% 0.13 131.1)
XYZxyz(9.3891, 14.2686, 2.9211)
Luminance0.1427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7514 #3E1475
analogous
#756F14 #4B7514 #1B7514
triadic
#4B7514 #144B75 #75144B
tetradic
#4B7514 #14756F #3E1475 #75141B
square
#4B7514 #14756F #3E1475 #75141B
split-complementary
#4B7514 #141B75 #6F1475
monochromatic
#111A04 #29410B #4B7514 #6DA91D #8EDA29

Accessibility & contrast

On white

5.45
#4B7514 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4B7514 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7514
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7514#FFFFFF#000000##FFFFFF
##4B75141.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#75681F
Tritanopia (blue-blind)
#4D7063
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4b7514;
/* rgb */ color: rgb(75, 117, 20);
/* oklch */ color: oklch(51.2% 0.130 131.1);
Tailwind
colors: {
  custom: {
    50: '#829d5b',
    500: '#4b7514',
    950: '#000000',
  },
}
SCSS
$custom: #4b7514;
$custom-light: #829d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7514",
  "rgb": {
    "r": 75,
    "g": 117,
    "b": 20
  },
  "hsl": {
    "h": 85.979,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51243,
    "c": 0.13045,
    "h": 131.1
  },
  "luminance": 0.14269
}

Semantic roles & 50–950 ramp

primary
#4B7514
secondary
#6B3AAB
accent
#3AEE88
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7514

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

Preview Lab → · Contrast checker → · Palette generator →

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