#4B7317#4B7317

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

Color values

HEX#4B7317
RGBrgb(75, 115, 23)
HSLhsl(86, 67%, 27%)
HSVhsv(86, 80%, 45%)
CMYKcmyk(34.8%, 0%, 80%, 54.9%)
CIE-LABlab(43.97, -29.04, 43.04)
CIE-LCHlch(43.97, 51.92, 124.01°)
OKLaboklab(50.72% -0.0825 0.0955)
OKLCHoklch(50.72% 0.126 130.8)
XYZxyz(9.1870, 13.8189, 2.9937)
Luminance0.1382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7317 #3F1773
analogous
#736D17 #4B7317 #1D7317
triadic
#4B7317 #174B73 #73174B
tetradic
#4B7317 #17736D #3F1773 #73171D
square
#4B7317 #17736D #3F1773 #73171D
split-complementary
#4B7317 #171D73 #6D1773
monochromatic
#111A05 #2A400D #4B7317 #6CA621 #8DD52F

Accessibility & contrast

On white

5.58
#4B7317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4B7317
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7317#FFFFFF#000000##FFFFFF
##4B73171.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A02
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#4D6E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4b7317;
/* rgb */ color: rgb(75, 115, 23);
/* oklch */ color: oklch(50.7% 0.126 130.8);
Tailwind
colors: {
  custom: {
    50: '#819b5c',
    500: '#4b7317',
    950: '#000000',
  },
}
SCSS
$custom: #4b7317;
$custom-light: #819b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7317",
  "rgb": {
    "r": 75,
    "g": 115,
    "b": 23
  },
  "hsl": {
    "h": 86.087,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50723,
    "c": 0.12619,
    "h": 130.8
  },
  "luminance": 0.13819
}

Semantic roles & 50–950 ramp

primary
#4B7317
secondary
#6C3DA9
accent
#3EEA89
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7317

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

Preview Lab → · Contrast checker → · Palette generator →

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