#4B6915#4B6915

#4B6915 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.0% C 0.114 H 127.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4B6915
RGBrgb(75, 105, 21)
HSLhsl(81, 67%, 25%)
HSVhsv(81, 80%, 41%)
CMYKcmyk(28.6%, 0%, 80%, 58.8%)
CIE-LABlab(40.66, -24.29, 40.60)
CIE-LCHlch(40.66, 47.31, 120.89°)
OKLaboklab(48.02% -0.0698 0.09)
OKLCHoklch(48.02% 0.114 127.8)
XYZxyz(8.0886, 11.6530, 2.5324)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6915 #331569
analogous
#695D15 #4B6915 #216915
triadic
#4B6915 #154B69 #69154B
tetradic
#4B6915 #15695D #331569 #691521
square
#4B6915 #15695D #331569 #691521
split-complementary
#4B6915 #152169 #5D1569
monochromatic
#121A05 #27360B #4B6915 #6F9C1F #94CF29

Accessibility & contrast

On white

6.31
#4B6915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4B6915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B6915
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B6915#FFFFFF#000000##FFFFFF
##4B69151.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6103
Deuteranopia (green-blind)
#6B5F1D
Tritanopia (blue-blind)
#4E6459
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4b6915;
/* rgb */ color: rgb(75, 105, 21);
/* oklch */ color: oklch(48.0% 0.114 127.8);
Tailwind
colors: {
  custom: {
    50: '#80945a',
    500: '#4b6915',
    950: '#000000',
  },
}
SCSS
$custom: #4b6915;
$custom-light: #80945a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6915",
  "rgb": {
    "r": 75,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 81.429,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.48023,
    "c": 0.11391,
    "h": 127.8
  },
  "luminance": 0.11653
}

Semantic roles & 50–950 ramp

primary
#4B6915
secondary
#5E3AA0
accent
#3EEA7B
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4B6915

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

Preview Lab → · Contrast checker → · Palette generator →

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