#4B8117#4B8117

#4B8117 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.5% C 0.144 H 133.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4B8117
RGBrgb(75, 129, 23)
HSLhsl(91, 70%, 30%)
HSVhsv(91, 82%, 51%)
CMYKcmyk(41.9%, 0%, 82.2%, 49.4%)
CIE-LABlab(48.58, -35.41, 47.36)
CIE-LCHlch(48.58, 59.13, 126.78°)
OKLaboklab(54.49% -0.0997 0.1046)
OKLCHoklch(54.49% 0.144 133.6)
XYZxyz(10.9064, 17.2577, 3.5668)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8117 #4D1781
analogous
#808117 #4B8117 #178118
triadic
#4B8117 #174B81 #81174B
tetradic
#4B8117 #178081 #4D1781 #811817
square
#4B8117 #178081 #4D1781 #811817
split-complementary
#4B8117 #181781 #811780
monochromatic
#0F1A05 #2D4D0E #4B8117 #69B520 #88DB37

Accessibility & contrast

On white

4.72
#4B8117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#4B8117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B8117
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8117#FFFFFF#000000##FFFFFF
##4B81171.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7F7223
Tritanopia (blue-blind)
#4B7C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4b8117;
/* rgb */ color: rgb(75, 129, 23);
/* oklch */ color: oklch(54.5% 0.144 133.6);
Tailwind
colors: {
  custom: {
    50: '#83a65e',
    500: '#4b8117',
    950: '#000000',
  },
}
SCSS
$custom: #4b8117;
$custom-light: #83a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8117",
  "rgb": {
    "r": 75,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 90.566,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54492,
    "c": 0.14446,
    "h": 133.6
  },
  "luminance": 0.17258
}

Semantic roles & 50–950 ramp

primary
#4B8117
secondary
#7B3EB5
accent
#3BED96
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B8117

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

Preview Lab → · Contrast checker → · Palette generator →

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