#30811B#30811B

#30811B is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.156 H 140.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#30811B
RGBrgb(48, 129, 27)
HSLhsl(108, 65%, 31%)
HSVhsv(108, 79%, 51%)
CMYKcmyk(62.8%, 0%, 79.1%, 49.4%)
CIE-LABlab(47.50, -43.60, 44.62)
CIE-LCHlch(47.50, 62.39, 134.34°)
OKLaboklab(53.31% -0.1196 0.0999)
OKLCHoklch(53.31% 0.156 140.1)
XYZxyz(9.2666, 16.4072, 3.7153)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30811B #6C1B81
analogous
#63811B #30811B #1B8139
triadic
#30811B #1B3081 #811B30
tetradic
#30811B #1B6381 #6C1B81 #81391B
square
#30811B #1B6381 #6C1B81 #81391B
split-complementary
#30811B #391B81 #811B63
monochromatic
#0A1C06 #1D4E10 #30811B #43B426 #5FD73F

Accessibility & contrast

On white

4.90
#30811B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#30811B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30811B
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30811B#FFFFFF#000000##FFFFFF
##30811B1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857503
Deuteranopia (green-blind)
#7B6E26
Tritanopia (blue-blind)
#257D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #30811b;
/* rgb */ color: rgb(48, 129, 27);
/* oklch */ color: oklch(53.3% 0.156 140.1);
Tailwind
colors: {
  custom: {
    50: '#73a660',
    500: '#30811b',
    950: '#000000',
  },
}
SCSS
$custom: #30811b;
$custom-light: #73a660;
$custom-dark: #000000;
JSON
{
  "hex": "#30811b",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 107.647,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53307,
    "c": 0.15584,
    "h": 140.1
  },
  "luminance": 0.16408
}

Semantic roles & 50–950 ramp

primary
#30811B
secondary
#9D43B5
accent
#3FE8C6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #30811B

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

Preview Lab → · Contrast checker → · Palette generator →

#30811B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva