#4B5811#4B5811

#4B5811 is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 43.5% C 0.093 H 119.7°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#4B5811
RGBrgb(75, 88, 17)
HSLhsl(71, 68%, 21%)
HSVhsv(71, 81%, 35%)
CMYKcmyk(14.8%, 0%, 80.7%, 65.5%)
CIE-LABlab(35.03, -15.58, 36.74)
CIE-LCHlch(35.03, 39.91, 112.98°)
OKLaboklab(43.46% -0.0463 0.0812)
OKLCHoklch(43.46% 0.093 119.7)
XYZxyz(6.4927, 8.5158, 1.8319)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5811 #1E1158
analogous
#584111 #4B5811 #275811
triadic
#4B5811 #114B58 #58114B
tetradic
#4B5811 #115841 #1E1158 #581127
square
#4B5811 #115841 #1E1158 #581127
split-complementary
#4B5811 #112758 #411158
monochromatic
#161A05 #1F2507 #4B5811 #778B1B #A2BF25

Accessibility & contrast

On white

7.77
#4B5811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4B5811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B5811
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5811#FFFFFF#000000##FFFFFF
##4B58111.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5203
Deuteranopia (green-blind)
#5D5317
Tritanopia (blue-blind)
#50534B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4b5811;
/* rgb */ color: rgb(75, 88, 17);
/* oklch */ color: oklch(43.5% 0.093 119.7);
Tailwind
colors: {
  custom: {
    50: '#808755',
    500: '#4b5811',
    950: '#000000',
  },
}
SCSS
$custom: #4b5811;
$custom-light: #808755;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5811",
  "rgb": {
    "r": 75,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 70.986,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.43464,
    "c": 0.09347,
    "h": 119.7
  },
  "luminance": 0.08516
}

Semantic roles & 50–950 ramp

primary
#4B5811
secondary
#453491
accent
#3DEA5D
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4B5811

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

Preview Lab → · Contrast checker → · Palette generator →

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