#4B7318#4B7318

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

Color values

HEX#4B7318
RGBrgb(75, 115, 24)
HSLhsl(86, 65%, 27%)
HSVhsv(86, 79%, 45%)
CMYKcmyk(34.8%, 0%, 79.1%, 54.9%)
CIE-LABlab(43.98, -28.98, 42.69)
CIE-LCHlch(43.98, 51.59, 124.17°)
OKLaboklab(50.73% -0.0823 0.0949)
OKLCHoklch(50.73% 0.126 130.9)
XYZxyz(9.1972, 13.8229, 3.0475)
Luminance0.1382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7318 #401873
analogous
#736E18 #4B7318 #1D7318
triadic
#4B7318 #184B73 #73184B
tetradic
#4B7318 #18736E #401873 #73181D
square
#4B7318 #18736E #401873 #73181D
split-complementary
#4B7318 #181D73 #6E1873
monochromatic
#111905 #2A400D #4B7318 #6CA623 #8DD431

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B7318#FFFFFF#000000##FFFFFF
##4B73181.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)
#786A04
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#4D6E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4b7318;
/* rgb */ color: rgb(75, 115, 24);
/* oklch */ color: oklch(50.7% 0.126 130.9);
Tailwind
colors: {
  custom: {
    50: '#819b5d',
    500: '#4b7318',
    950: '#000000',
  },
}
SCSS
$custom: #4b7318;
$custom-light: #819b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7318",
  "rgb": {
    "r": 75,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 86.374,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.5073,
    "c": 0.12561,
    "h": 130.9
  },
  "luminance": 0.13823
}

Semantic roles & 50–950 ramp

primary
#4B7318
secondary
#6D3FA8
accent
#3FE88A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7318

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

Preview Lab → · Contrast checker → · Palette generator →

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