#4B7314#4B7314

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

Color values

HEX#4B7314
RGBrgb(75, 115, 20)
HSLhsl(85, 70%, 26%)
HSVhsv(85, 83%, 45%)
CMYKcmyk(34.8%, 0%, 82.6%, 54.9%)
CIE-LABlab(43.96, -29.20, 44.03)
CIE-LCHlch(43.96, 52.83, 123.55°)
OKLaboklab(50.71% -0.0832 0.0971)
OKLCHoklch(50.71% 0.128 130.6)
XYZxyz(9.1586, 13.8075, 2.8443)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7314 #3C1473
analogous
#736C14 #4B7314 #1C7314
triadic
#4B7314 #144B73 #73144B
tetradic
#4B7314 #14736C #3C1473 #73141C
square
#4B7314 #14736C #3C1473 #73141C
split-complementary
#4B7314 #141C73 #6C1473
monochromatic
#111A05 #293F0B #4B7314 #6DA71D #8FDA28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B7314#FFFFFF#000000##FFFFFF
##4B73141.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)
#73671E
Tritanopia (blue-blind)
#4D6E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4b7314;
/* rgb */ color: rgb(75, 115, 20);
/* oklch */ color: oklch(50.7% 0.128 130.6);
Tailwind
colors: {
  custom: {
    50: '#819b5b',
    500: '#4b7314',
    950: '#000000',
  },
}
SCSS
$custom: #4b7314;
$custom-light: #819b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7314",
  "rgb": {
    "r": 75,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 85.263,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50705,
    "c": 0.12782,
    "h": 130.6
  },
  "luminance": 0.13808
}

Semantic roles & 50–950 ramp

primary
#4B7314
secondary
#693AA9
accent
#3BED86
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7314

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

Preview Lab → · Contrast checker → · Palette generator →

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