#4B7515#4B7515

#4B7515 is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.2% C 0.130 H 131.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4B7515
RGBrgb(75, 117, 21)
HSLhsl(86, 70%, 27%)
HSVhsv(86, 82%, 46%)
CMYKcmyk(35.9%, 0%, 82.1%, 54.1%)
CIE-LABlab(44.62, -30.09, 44.32)
CIE-LCHlch(44.62, 53.57, 124.17°)
OKLaboklab(51.25% -0.0855 0.0979)
OKLCHoklch(51.25% 0.13 131.1)
XYZxyz(9.3982, 14.2722, 2.9690)
Luminance0.1427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7515 #3F1575
analogous
#756F15 #4B7515 #1B7515
triadic
#4B7515 #154B75 #75154B
tetradic
#4B7515 #15756F #3F1575 #75151B
square
#4B7515 #15756F #3F1575 #75151B
split-complementary
#4B7515 #151B75 #6F1575
monochromatic
#111A05 #2A410C #4B7515 #6CA91E #8DD92B

Accessibility & contrast

On white

5.45
#4B7515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4B7515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7515
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7515#FFFFFF#000000##FFFFFF
##4B75151.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#756820
Tritanopia (blue-blind)
#4D7063
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4b7515;
/* rgb */ color: rgb(75, 117, 21);
/* oklch */ color: oklch(51.2% 0.130 131.1);
Tailwind
colors: {
  custom: {
    50: '#819d5c',
    500: '#4b7515',
    950: '#000000',
  },
}
SCSS
$custom: #4b7515;
$custom-light: #819d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7515",
  "rgb": {
    "r": 75,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 86.25,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51249,
    "c": 0.12994,
    "h": 131.1
  },
  "luminance": 0.14273
}

Semantic roles & 50–950 ramp

primary
#4B7515
secondary
#6C3BAB
accent
#3BEC89
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7515

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

Preview Lab → · Contrast checker → · Palette generator →

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