#4B7316#4B7316

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

Color values

HEX#4B7316
RGBrgb(75, 115, 22)
HSLhsl(86, 68%, 27%)
HSVhsv(86, 81%, 45%)
CMYKcmyk(34.8%, 0%, 80.9%, 54.9%)
CIE-LABlab(43.97, -29.09, 43.38)
CIE-LCHlch(43.97, 52.23, 123.85°)
OKLaboklab(50.72% -0.0827 0.096)
OKLCHoklch(50.72% 0.127 130.7)
XYZxyz(9.1771, 13.8149, 2.9419)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7316 #3E1673
analogous
#736D16 #4B7316 #1D7316
triadic
#4B7316 #164B73 #73164B
tetradic
#4B7316 #16736D #3E1673 #73161D
square
#4B7316 #16736D #3E1673 #73161D
split-complementary
#4B7316 #161D73 #6D1673
monochromatic
#111A05 #29400C #4B7316 #6DA620 #8ED72D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B7316#FFFFFF#000000##FFFFFF
##4B73161.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)
#796A00
Deuteranopia (green-blind)
#736720
Tritanopia (blue-blind)
#4D6E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4b7316;
/* rgb */ color: rgb(75, 115, 22);
/* oklch */ color: oklch(50.7% 0.127 130.7);
Tailwind
colors: {
  custom: {
    50: '#819b5c',
    500: '#4b7316',
    950: '#000000',
  },
}
SCSS
$custom: #4b7316;
$custom-light: #819b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7316",
  "rgb": {
    "r": 75,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 85.806,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50717,
    "c": 0.12676,
    "h": 130.7
  },
  "luminance": 0.13815
}

Semantic roles & 50–950 ramp

primary
#4B7316
secondary
#6B3CA9
accent
#3DEB88
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7316

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

Preview Lab → · Contrast checker → · Palette generator →

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