#4B7117#4B7117

#4B7117 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.2% C 0.124 H 130.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4B7117
RGBrgb(75, 113, 23)
HSLhsl(85, 66%, 27%)
HSVhsv(85, 80%, 44%)
CMYKcmyk(33.6%, 0%, 79.6%, 55.7%)
CIE-LABlab(43.31, -28.09, 42.41)
CIE-LCHlch(43.31, 50.86, 123.52°)
OKLaboklab(50.19% -0.0799 0.0942)
OKLCHoklch(50.19% 0.124 130.3)
XYZxyz(8.9614, 13.3677, 2.9185)
Luminance0.1337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7117 #3D1771
analogous
#716A17 #4B7117 #1E7117
triadic
#4B7117 #174B71 #71174B
tetradic
#4B7117 #17716A #3D1771 #71171E
square
#4B7117 #17716A #3D1771 #71171E
split-complementary
#4B7117 #171E71 #6A1771
monochromatic
#111905 #293E0D #4B7117 #6DA421 #8ED42E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B7117#FFFFFF#000000##FFFFFF
##4B71171.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)
#766803
Deuteranopia (green-blind)
#716520
Tritanopia (blue-blind)
#4D6C60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4b7117;
/* rgb */ color: rgb(75, 113, 23);
/* oklch */ color: oklch(50.2% 0.124 130.3);
Tailwind
colors: {
  custom: {
    50: '#819a5c',
    500: '#4b7117',
    950: '#000000',
  },
}
SCSS
$custom: #4b7117;
$custom-light: #819a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7117",
  "rgb": {
    "r": 75,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 85.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50185,
    "c": 0.12351,
    "h": 130.3
  },
  "luminance": 0.13368
}

Semantic roles & 50–950 ramp

primary
#4B7117
secondary
#6A3DA7
accent
#3FE987
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7117

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

Preview Lab → · Contrast checker → · Palette generator →

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