#4B7411#4B7411

#4B7411 is a mid, vivid yellow-green. Relative luminance 0.140; OKLCH L 51.0% C 0.131 H 130.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4B7411
RGBrgb(75, 116, 17)
HSLhsl(85, 74%, 26%)
HSVhsv(85, 85%, 45%)
CMYKcmyk(35.3%, 0%, 85.3%, 54.5%)
CIE-LABlab(44.27, -29.82, 45.23)
CIE-LCHlch(44.27, 54.18, 123.39°)
OKLaboklab(50.96% -0.085 0.0991)
OKLCHoklch(50.96% 0.131 130.6)
XYZxyz(9.2482, 14.0268, 2.7504)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7411 #3A1174
analogous
#746B11 #4B7411 #1A7411
triadic
#4B7411 #114B74 #74114B
tetradic
#4B7411 #11746B #3A1174 #74111A
square
#4B7411 #11746B #3A1174 #74111A
split-complementary
#4B7411 #111A74 #6B1174
monochromatic
#111B04 #283F09 #4B7411 #6EA919 #90DE21

Accessibility & contrast

On white

5.52
#4B7411 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4B7411 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7411
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7411#FFFFFF#000000##FFFFFF
##4B74111.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#74681D
Tritanopia (blue-blind)
#4D6F62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4b7411;
/* rgb */ color: rgb(75, 116, 17);
/* oklch */ color: oklch(51.0% 0.131 130.6);
Tailwind
colors: {
  custom: {
    50: '#829c5a',
    500: '#4b7411',
    950: '#000000',
  },
}
SCSS
$custom: #4b7411;
$custom-light: #829c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7411",
  "rgb": {
    "r": 75,
    "g": 116,
    "b": 17
  },
  "hsl": {
    "h": 84.848,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50958,
    "c": 0.13059,
    "h": 130.6
  },
  "luminance": 0.14027
}

Semantic roles & 50–950 ramp

primary
#4B7411
secondary
#6636AB
accent
#37F184
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7411

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

Preview Lab → · Contrast checker → · Palette generator →

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