#4B6815#4B6815

#4B6815 is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 47.8% C 0.113 H 127.4°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4B6815
RGBrgb(75, 104, 21)
HSLhsl(81, 66%, 25%)
HSVhsv(81, 80%, 41%)
CMYKcmyk(27.9%, 0%, 79.8%, 59.2%)
CIE-LABlab(40.33, -23.79, 40.28)
CIE-LCHlch(40.33, 46.79, 120.57°)
OKLaboklab(47.76% -0.0684 0.0894)
OKLCHoklch(47.76% 0.113 127.4)
XYZxyz(7.9873, 11.4505, 2.4987)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6815 #321568
analogous
#685C15 #4B6815 #226815
triadic
#4B6815 #154B68 #68154B
tetradic
#4B6815 #15685C #321568 #681522
square
#4B6815 #15685C #321568 #681522
split-complementary
#4B6815 #152268 #5C1568
monochromatic
#121905 #26350B #4B6815 #709B1F #94CE2A

Accessibility & contrast

On white

6.38
#4B6815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4B6815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B6815
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B6815#FFFFFF#000000##FFFFFF
##4B68151.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6003
Deuteranopia (green-blind)
#6A5E1D
Tritanopia (blue-blind)
#4E6358
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4b6815;
/* rgb */ color: rgb(75, 104, 21);
/* oklch */ color: oklch(47.8% 0.113 127.4);
Tailwind
colors: {
  custom: {
    50: '#80935a',
    500: '#4b6815',
    950: '#000000',
  },
}
SCSS
$custom: #4b6815;
$custom-light: #80935a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6815",
  "rgb": {
    "r": 75,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 80.964,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47755,
    "c": 0.11255,
    "h": 127.4
  },
  "luminance": 0.11451
}

Semantic roles & 50–950 ramp

primary
#4B6815
secondary
#5D3A9F
accent
#3EE97A
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4B6815

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

Preview Lab → · Contrast checker → · Palette generator →

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