#4B5812#4B5812

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

Color values

HEX#4B5812
RGBrgb(75, 88, 18)
HSLhsl(71, 66%, 21%)
HSVhsv(71, 80%, 35%)
CMYKcmyk(14.8%, 0%, 79.5%, 65.5%)
CIE-LABlab(35.04, -15.53, 36.36)
CIE-LCHlch(35.04, 39.54, 113.12°)
OKLaboklab(43.47% -0.0461 0.0806)
OKLCHoklch(43.47% 0.093 119.8)
XYZxyz(6.5007, 8.5190, 1.8740)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5812 #1F1258
analogous
#584212 #4B5812 #285812
triadic
#4B5812 #124B58 #58124B
tetradic
#4B5812 #125842 #1F1258 #581228
square
#4B5812 #125842 #1F1258 #581228
split-complementary
#4B5812 #122858 #421258
monochromatic
#161905 #202508 #4B5812 #768B1C #A2BE27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B5812#FFFFFF#000000##FFFFFF
##4B58121.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)
#5E5205
Deuteranopia (green-blind)
#5D5318
Tritanopia (blue-blind)
#50534B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4b5812;
/* rgb */ color: rgb(75, 88, 18);
/* oklch */ color: oklch(43.5% 0.093 119.8);
Tailwind
colors: {
  custom: {
    50: '#808756',
    500: '#4b5812',
    950: '#000000',
  },
}
SCSS
$custom: #4b5812;
$custom-light: #808756;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5812",
  "rgb": {
    "r": 75,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 71.143,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.43471,
    "c": 0.09282,
    "h": 119.8
  },
  "luminance": 0.08519
}

Semantic roles & 50–950 ramp

primary
#4B5812
secondary
#463591
accent
#3FE95E
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4B5812

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

Preview Lab → · Contrast checker → · Palette generator →

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