#30811D#30811D

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

Color values

HEX#30811D
RGBrgb(48, 129, 29)
HSLhsl(109, 63%, 31%)
HSVhsv(109, 78%, 51%)
CMYKcmyk(62.8%, 0%, 77.5%, 49.4%)
CIE-LABlab(47.52, -43.46, 43.92)
CIE-LCHlch(47.52, 61.78, 134.70°)
OKLaboklab(53.32% -0.1191 0.0987)
OKLCHoklch(53.32% 0.155 140.4)
XYZxyz(9.2905, 16.4167, 3.8413)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30811D #6E1D81
analogous
#62811D #30811D #1D813C
triadic
#30811D #1D3081 #811D30
tetradic
#30811D #1D6281 #6E1D81 #813C1D
square
#30811D #1D6281 #6E1D81 #813C1D
split-complementary
#30811D #3C1D81 #811D62
monochromatic
#0B1D07 #1D4F12 #30811D #43B328 #5FD544

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30811D#FFFFFF#000000##FFFFFF
##30811D1.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)
#857507
Deuteranopia (green-blind)
#7B6E28
Tritanopia (blue-blind)
#247D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #30811d;
/* rgb */ color: rgb(48, 129, 29);
/* oklch */ color: oklch(53.3% 0.155 140.4);
Tailwind
colors: {
  custom: {
    50: '#73a661',
    500: '#30811d',
    950: '#000000',
  },
}
SCSS
$custom: #30811d;
$custom-light: #73a661;
$custom-dark: #000000;
JSON
{
  "hex": "#30811d",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 108.6,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53321,
    "c": 0.15471,
    "h": 140.4
  },
  "luminance": 0.16418
}

Semantic roles & 50–950 ramp

primary
#30811D
secondary
#9F46B4
accent
#41E6C7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #30811D

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

Preview Lab → · Contrast checker → · Palette generator →

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