#4B7313#4B7313

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

Color values

HEX#4B7313
RGBrgb(75, 115, 19)
HSLhsl(85, 72%, 26%)
HSVhsv(85, 83%, 45%)
CMYKcmyk(34.8%, 0%, 83.5%, 54.9%)
CIE-LABlab(43.95, -29.25, 44.34)
CIE-LCHlch(43.95, 53.12, 123.41°)
OKLaboklab(50.7% -0.0834 0.0976)
OKLCHoklch(50.7% 0.128 130.5)
XYZxyz(9.1499, 13.8040, 2.7983)
Luminance0.1380 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7313 #3B1373
analogous
#736B13 #4B7313 #1B7313
triadic
#4B7313 #134B73 #73134B
tetradic
#4B7313 #13736B #3B1373 #73131B
square
#4B7313 #13736B #3B1373 #73131B
split-complementary
#4B7313 #131B73 #6B1373
monochromatic
#111A04 #293E0A #4B7313 #6DA81C #8FDB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B7313#FFFFFF#000000##FFFFFF
##4B73131.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: #4b7313;
/* rgb */ color: rgb(75, 115, 19);
/* oklch */ color: oklch(50.7% 0.128 130.5);
Tailwind
colors: {
  custom: {
    50: '#819b5a',
    500: '#4b7313',
    950: '#000000',
  },
}
SCSS
$custom: #4b7313;
$custom-light: #819b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7313",
  "rgb": {
    "r": 75,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 85,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50699,
    "c": 0.12833,
    "h": 130.5
  },
  "luminance": 0.13804
}

Semantic roles & 50–950 ramp

primary
#4B7313
secondary
#6738AA
accent
#39EE85
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7313

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

Preview Lab → · Contrast checker → · Palette generator →

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