#4B6811#4B6811

#4B6811 is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.7% C 0.115 H 127.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#4B6811
RGBrgb(75, 104, 17)
HSLhsl(80, 72%, 24%)
HSVhsv(80, 84%, 41%)
CMYKcmyk(27.9%, 0%, 83.7%, 59.2%)
CIE-LABlab(40.31, -24.01, 41.64)
CIE-LCHlch(40.31, 48.07, 119.96°)
OKLaboklab(47.73% -0.0693 0.0915)
OKLCHoklch(47.73% 0.115 127.1)
XYZxyz(7.9532, 11.4368, 2.3187)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6811 #2E1168
analogous
#685911 #4B6811 #1F6811
triadic
#4B6811 #114B68 #68114B
tetradic
#4B6811 #116859 #2E1168 #68111F
square
#4B6811 #116859 #2E1168 #68111F
split-complementary
#4B6811 #111F68 #591168
monochromatic
#131A04 #253308 #4B6811 #719D1A #97D122

Accessibility & contrast

On white

6.39
#4B6811 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4B6811
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B6811#FFFFFF#000000##FFFFFF
##4B68111.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b6811;
/* rgb */ color: rgb(75, 104, 17);
/* oklch */ color: oklch(47.7% 0.115 127.1);
Tailwind
colors: {
  custom: {
    50: '#819358',
    500: '#4b6811',
    950: '#000000',
  },
}
SCSS
$custom: #4b6811;
$custom-light: #819358;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6811",
  "rgb": {
    "r": 75,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 80,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.47729,
    "c": 0.11482,
    "h": 127.1
  },
  "luminance": 0.11437
}

Semantic roles & 50–950 ramp

primary
#4B6811
secondary
#5935A0
accent
#39EF76
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4B6811

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

Preview Lab → · Contrast checker → · Palette generator →

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