#4B7612#4B7612

#4B7612 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.5% C 0.133 H 131.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4B7612
RGBrgb(75, 118, 18)
HSLhsl(86, 74%, 27%)
HSVhsv(86, 85%, 46%)
CMYKcmyk(36.4%, 0%, 84.7%, 53.7%)
CIE-LABlab(44.94, -30.70, 45.54)
CIE-LCHlch(44.94, 54.92, 123.99°)
OKLaboklab(51.5% -0.0873 0.0999)
OKLCHoklch(51.5% 0.133 131.2)
XYZxyz(9.4892, 14.4960, 2.8702)
Luminance0.1450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7612 #3D1276
analogous
#766F12 #4B7612 #197612
triadic
#4B7612 #124B76 #76124B
tetradic
#4B7612 #12766F #3D1276 #761219
square
#4B7612 #12766F #3D1276 #761219
split-complementary
#4B7612 #121976 #6F1276
monochromatic
#111B04 #29410A #4B7612 #6DAB1A #8EDE25

Accessibility & contrast

On white

5.39
#4B7612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4B7612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7612
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7612#FFFFFF#000000##FFFFFF
##4B76121.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6C00
Deuteranopia (green-blind)
#76691E
Tritanopia (blue-blind)
#4D7164
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4b7612;
/* rgb */ color: rgb(75, 118, 18);
/* oklch */ color: oklch(51.5% 0.133 131.2);
Tailwind
colors: {
  custom: {
    50: '#829e5a',
    500: '#4b7612',
    950: '#000000',
  },
}
SCSS
$custom: #4b7612;
$custom-light: #829e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7612",
  "rgb": {
    "r": 75,
    "g": 118,
    "b": 18
  },
  "hsl": {
    "h": 85.8,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51502,
    "c": 0.13273,
    "h": 131.2
  },
  "luminance": 0.14496
}

Semantic roles & 50–950 ramp

primary
#4B7612
secondary
#6A37AD
accent
#38F087
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7612

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

Preview Lab → · Contrast checker → · Palette generator →

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