#4B7111#4B7111

#4B7111 is a mid, vivid yellow-green. Relative luminance 0.133; OKLCH L 50.1% C 0.127 H 129.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4B7111
RGBrgb(75, 113, 17)
HSLhsl(84, 74%, 25%)
HSVhsv(84, 85%, 44%)
CMYKcmyk(33.6%, 0%, 85%, 55.7%)
CIE-LABlab(43.28, -28.40, 44.34)
CIE-LCHlch(43.28, 52.66, 122.64°)
OKLaboklab(50.15% -0.0812 0.0972)
OKLCHoklch(50.15% 0.127 129.9)
XYZxyz(8.9079, 13.3463, 2.6370)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7111 #371171
analogous
#716711 #4B7111 #1B7111
triadic
#4B7111 #114B71 #71114B
tetradic
#4B7111 #117167 #371171 #71111B
square
#4B7111 #117167 #371171 #71111B
split-complementary
#4B7111 #111B71 #671171
monochromatic
#121B04 #283C09 #4B7111 #6EA619 #92DB21

Accessibility & contrast

On white

5.72
#4B7111 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4B7111 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7111
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7111#FFFFFF#000000##FFFFFF
##4B71111.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#71651C
Tritanopia (blue-blind)
#4D6C60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4b7111;
/* rgb */ color: rgb(75, 113, 17);
/* oklch */ color: oklch(50.1% 0.127 129.9);
Tailwind
colors: {
  custom: {
    50: '#819a59',
    500: '#4b7111',
    950: '#000000',
  },
}
SCSS
$custom: #4b7111;
$custom-light: #819a59;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7111",
  "rgb": {
    "r": 75,
    "g": 113,
    "b": 17
  },
  "hsl": {
    "h": 83.75,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.5015,
    "c": 0.12668,
    "h": 129.9
  },
  "luminance": 0.13347
}

Semantic roles & 50–950 ramp

primary
#4B7111
secondary
#6336A8
accent
#37F181
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7111

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

Preview Lab → · Contrast checker → · Palette generator →

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