#4B7418#4B7418

#4B7418 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.0% C 0.127 H 131.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4B7418
RGBrgb(75, 116, 24)
HSLhsl(87, 66%, 27%)
HSVhsv(87, 79%, 45%)
CMYKcmyk(35.3%, 0%, 79.3%, 54.5%)
CIE-LABlab(44.31, -29.45, 43.00)
CIE-LCHlch(44.31, 52.12, 124.40°)
OKLaboklab(51% -0.0835 0.0956)
OKLCHoklch(51% 0.127 131.1)
XYZxyz(9.3118, 14.0522, 3.0857)
Luminance0.1405 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7418 #411874
analogous
#746F18 #4B7418 #1D7418
triadic
#4B7418 #184B74 #74184B
tetradic
#4B7418 #18746F #411874 #74181D
square
#4B7418 #18746F #411874 #74181D
split-complementary
#4B7418 #181D74 #6F1874
monochromatic
#101905 #2A410E #4B7418 #6CA722 #8CD532

Accessibility & contrast

On white

5.51
#4B7418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4B7418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7418
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7418#FFFFFF#000000##FFFFFF
##4B74181.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B03
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#4D6F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4b7418;
/* rgb */ color: rgb(75, 116, 24);
/* oklch */ color: oklch(51.0% 0.127 131.1);
Tailwind
colors: {
  custom: {
    50: '#819c5d',
    500: '#4b7418',
    950: '#000000',
  },
}
SCSS
$custom: #4b7418;
$custom-light: #819c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7418",
  "rgb": {
    "r": 75,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 86.739,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50999,
    "c": 0.12694,
    "h": 131.1
  },
  "luminance": 0.14053
}

Semantic roles & 50–950 ramp

primary
#4B7418
secondary
#6E3FA9
accent
#3FE98B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7418

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

Preview Lab → · Contrast checker → · Palette generator →

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