#4B7218#4B7218

#4B7218 is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.5% C 0.124 H 130.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4B7218
RGBrgb(75, 114, 24)
HSLhsl(86, 65%, 27%)
HSVhsv(86, 79%, 45%)
CMYKcmyk(34.2%, 0%, 78.9%, 55.3%)
CIE-LABlab(43.65, -28.50, 42.37)
CIE-LCHlch(43.65, 51.06, 123.93°)
OKLaboklab(50.46% -0.081 0.0943)
OKLCHoklch(50.46% 0.124 130.7)
XYZxyz(9.0838, 13.5961, 3.0097)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7218 #3F1872
analogous
#726C18 #4B7218 #1E7218
triadic
#4B7218 #184B72 #72184B
tetradic
#4B7218 #18726C #3F1872 #72181E
square
#4B7218 #18726C #3F1872 #72181E
split-complementary
#4B7218 #181E72 #6C1872
monochromatic
#111905 #2A3F0D #4B7218 #6CA523 #8DD431

Accessibility & contrast

On white

5.65
#4B7218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4B7218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7218
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7218#FFFFFF#000000##FFFFFF
##4B72181.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776904
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#4D6D61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4b7218;
/* rgb */ color: rgb(75, 114, 24);
/* oklch */ color: oklch(50.5% 0.124 130.7);
Tailwind
colors: {
  custom: {
    50: '#819b5c',
    500: '#4b7218',
    950: '#000000',
  },
}
SCSS
$custom: #4b7218;
$custom-light: #819b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7218",
  "rgb": {
    "r": 75,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 86,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50461,
    "c": 0.12426,
    "h": 130.7
  },
  "luminance": 0.13596
}

Semantic roles & 50–950 ramp

primary
#4B7218
secondary
#6C3EA7
accent
#40E889
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7218

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

Preview Lab → · Contrast checker → · Palette generator →

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