#4B7216#4B7216

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

Color values

HEX#4B7216
RGBrgb(75, 114, 22)
HSLhsl(85, 68%, 27%)
HSVhsv(85, 81%, 45%)
CMYKcmyk(34.2%, 0%, 80.7%, 55.3%)
CIE-LABlab(43.64, -28.62, 43.07)
CIE-LCHlch(43.64, 51.71, 123.61°)
OKLaboklab(50.45% -0.0814 0.0954)
OKLCHoklch(50.45% 0.125 130.5)
XYZxyz(9.0637, 13.5881, 2.9041)
Luminance0.1359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7216 #3D1672
analogous
#726B16 #4B7216 #1D7216
triadic
#4B7216 #164B72 #72164B
tetradic
#4B7216 #16726B #3D1672 #72161D
square
#4B7216 #16726B #3D1672 #72161D
split-complementary
#4B7216 #161D72 #6B1672
monochromatic
#111A05 #293F0C #4B7216 #6DA520 #8ED62C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B7216#FFFFFF#000000##FFFFFF
##4B72161.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)
#786900
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#4D6D61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4b7216;
/* rgb */ color: rgb(75, 114, 22);
/* oklch */ color: oklch(50.4% 0.125 130.5);
Tailwind
colors: {
  custom: {
    50: '#819b5c',
    500: '#4b7216',
    950: '#000000',
  },
}
SCSS
$custom: #4b7216;
$custom-light: #819b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7216",
  "rgb": {
    "r": 75,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 85.435,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50448,
    "c": 0.12543,
    "h": 130.5
  },
  "luminance": 0.13588
}

Semantic roles & 50–950 ramp

primary
#4B7216
secondary
#6A3CA8
accent
#3DEB87
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7216

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

Preview Lab → · Contrast checker → · Palette generator →

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