#4B7415#4B7415

#4B7415 is a mid, vivid yellow-green. Relative luminance 0.140; OKLCH L 51.0% C 0.129 H 130.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4B7415
RGBrgb(75, 116, 21)
HSLhsl(86, 69%, 27%)
HSVhsv(86, 82%, 45%)
CMYKcmyk(35.3%, 0%, 81.9%, 54.5%)
CIE-LABlab(44.29, -29.62, 44.01)
CIE-LCHlch(44.29, 53.05, 123.94°)
OKLaboklab(50.98% -0.0842 0.0972)
OKLCHoklch(50.98% 0.129 130.9)
XYZxyz(9.2823, 14.0404, 2.9303)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7415 #3E1574
analogous
#746E15 #4B7415 #1B7415
triadic
#4B7415 #154B74 #74154B
tetradic
#4B7415 #15746E #3E1574 #74151B
square
#4B7415 #15746E #3E1574 #74151B
split-complementary
#4B7415 #151B74 #6E1574
monochromatic
#111A05 #29400C #4B7415 #6DA81E #8ED92B

Accessibility & contrast

On white

5.51
#4B7415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4B7415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7415
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7415#FFFFFF#000000##FFFFFF
##4B74151.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#74681F
Tritanopia (blue-blind)
#4D6F62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4b7415;
/* rgb */ color: rgb(75, 116, 21);
/* oklch */ color: oklch(51.0% 0.129 130.9);
Tailwind
colors: {
  custom: {
    50: '#819c5b',
    500: '#4b7415',
    950: '#000000',
  },
}
SCSS
$custom: #4b7415;
$custom-light: #819c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7415",
  "rgb": {
    "r": 75,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 85.895,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.5098,
    "c": 0.12862,
    "h": 130.9
  },
  "luminance": 0.14041
}

Semantic roles & 50–950 ramp

primary
#4B7415
secondary
#6B3BAA
accent
#3CEC88
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7415

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

Preview Lab → · Contrast checker → · Palette generator →

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