#30811F#30811F

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

Color values

HEX#30811F
RGBrgb(48, 129, 31)
HSLhsl(110, 61%, 31%)
HSVhsv(110, 76%, 51%)
CMYKcmyk(62.8%, 0%, 76%, 49.4%)
CIE-LABlab(47.53, -43.30, 43.18)
CIE-LCHlch(47.53, 61.15, 135.08°)
OKLaboklab(53.34% -0.1186 0.0975)
OKLCHoklch(53.34% 0.154 140.6)
XYZxyz(9.3161, 16.4270, 3.9758)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30811F #701F81
analogous
#61811F #30811F #1F813F
triadic
#30811F #1F3081 #811F30
tetradic
#30811F #1F6181 #701F81 #813F1F
square
#30811F #1F6181 #701F81 #813F1F
split-complementary
#30811F #3F1F81 #811F61
monochromatic
#0B1E07 #1E5013 #30811F #42B22B #60D347

Accessibility & contrast

On white

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

On black

4.29
#30811F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##30811F#FFFFFF#000000##FFFFFF
##30811F1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750C
Deuteranopia (green-blind)
#7B6E29
Tritanopia (blue-blind)
#247D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #30811f;
/* rgb */ color: rgb(48, 129, 31);
/* oklch */ color: oklch(53.3% 0.154 140.6);
Tailwind
colors: {
  custom: {
    50: '#73a662',
    500: '#30811f',
    950: '#000000',
  },
}
SCSS
$custom: #30811f;
$custom-light: #73a662;
$custom-dark: #000000;
JSON
{
  "hex": "#30811f",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 109.592,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53336,
    "c": 0.15351,
    "h": 140.6
  },
  "luminance": 0.16428
}

Semantic roles & 50–950 ramp

primary
#30811F
secondary
#A148B4
accent
#43E4C8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #30811F

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

Preview Lab → · Contrast checker → · Palette generator →

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