#4B7311#4B7311

#4B7311 is a mid, vivid yellow-green. Relative luminance 0.138; OKLCH L 50.7% C 0.129 H 130.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4B7311
RGBrgb(75, 115, 17)
HSLhsl(84, 74%, 26%)
HSVhsv(84, 85%, 45%)
CMYKcmyk(34.8%, 0%, 85.2%, 54.9%)
CIE-LABlab(43.94, -29.35, 44.94)
CIE-LCHlch(43.94, 53.67, 123.15°)
OKLaboklab(50.69% -0.0838 0.0985)
OKLCHoklch(50.69% 0.129 130.4)
XYZxyz(9.1335, 13.7975, 2.7122)
Luminance0.1380 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7311 #391173
analogous
#736A11 #4B7311 #1A7311
triadic
#4B7311 #114B73 #73114B
tetradic
#4B7311 #11736A #391173 #73111A
square
#4B7311 #11736A #391173 #73111A
split-complementary
#4B7311 #111A73 #6A1173
monochromatic
#111B04 #283E09 #4B7311 #6EA819 #91DE21

Accessibility & contrast

On white

5.59
#4B7311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4B7311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7311
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7311#FFFFFF#000000##FFFFFF
##4B73111.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#73671D
Tritanopia (blue-blind)
#4D6E61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4b7311;
/* rgb */ color: rgb(75, 115, 17);
/* oklch */ color: oklch(50.7% 0.129 130.4);
Tailwind
colors: {
  custom: {
    50: '#819b5a',
    500: '#4b7311',
    950: '#000000',
  },
}
SCSS
$custom: #4b7311;
$custom-light: #819b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7311",
  "rgb": {
    "r": 75,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 84.49,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50688,
    "c": 0.12929,
    "h": 130.4
  },
  "luminance": 0.13798
}

Semantic roles & 50–950 ramp

primary
#4B7311
secondary
#6536AA
accent
#37F183
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7311

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

Preview Lab → · Contrast checker → · Palette generator →

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