#4B5915#4B5915

#4B5915 is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.8% C 0.092 H 120.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4B5915
RGBrgb(75, 89, 21)
HSLhsl(72, 62%, 22%)
HSVhsv(72, 76%, 35%)
CMYKcmyk(15.7%, 0%, 76.4%, 65.1%)
CIE-LABlab(35.39, -15.90, 35.49)
CIE-LCHlch(35.39, 38.89, 114.13°)
OKLaboklab(43.76% -0.0468 0.0793)
OKLCHoklch(43.76% 0.092 120.5)
XYZxyz(6.6095, 8.6948, 2.0394)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5915 #231559
analogous
#594515 #4B5915 #295915
triadic
#4B5915 #154B59 #59154B
tetradic
#4B5915 #155945 #231559 #591529
square
#4B5915 #155945 #231559 #591529
split-complementary
#4B5915 #152959 #451559
monochromatic
#151906 #212709 #4B5915 #758B21 #9EBC2C

Accessibility & contrast

On white

7.67
#4B5915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4B5915 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B5915
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5915#FFFFFF#000000##FFFFFF
##4B59151.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5309
Deuteranopia (green-blind)
#5D531B
Tritanopia (blue-blind)
#50544C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4b5915;
/* rgb */ color: rgb(75, 89, 21);
/* oklch */ color: oklch(43.8% 0.092 120.5);
Tailwind
colors: {
  custom: {
    50: '#808758',
    500: '#4b5915',
    950: '#000000',
  },
}
SCSS
$custom: #4b5915;
$custom-light: #808758;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5915",
  "rgb": {
    "r": 75,
    "g": 89,
    "b": 21
  },
  "hsl": {
    "h": 72.353,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43758,
    "c": 0.09207,
    "h": 120.5
  },
  "luminance": 0.08695
}

Semantic roles & 50–950 ramp

primary
#4B5915
secondary
#4B3991
accent
#43E564
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4B5915

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

Preview Lab → · Contrast checker → · Palette generator →

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