#30811C#30811C

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

Color values

HEX#30811C
RGBrgb(48, 129, 28)
HSLhsl(108, 64%, 31%)
HSVhsv(108, 78%, 51%)
CMYKcmyk(62.8%, 0%, 78.3%, 49.4%)
CIE-LABlab(47.51, -43.53, 44.27)
CIE-LCHlch(47.51, 62.09, 134.51°)
OKLaboklab(53.31% -0.1194 0.0993)
OKLCHoklch(53.31% 0.155 140.2)
XYZxyz(9.2784, 16.4119, 3.7772)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30811C #6D1C81
analogous
#62811C #30811C #1C813A
triadic
#30811C #1C3081 #811C30
tetradic
#30811C #1C6281 #6D1C81 #813A1C
square
#30811C #1C6281 #6D1C81 #813A1C
split-complementary
#30811C #3A1C81 #811C62
monochromatic
#0B1C06 #1D4F11 #30811C #43B327 #5FD642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30811C#FFFFFF#000000##FFFFFF
##30811C1.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)
#857505
Deuteranopia (green-blind)
#7B6E27
Tritanopia (blue-blind)
#257D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #30811c;
/* rgb */ color: rgb(48, 129, 28);
/* oklch */ color: oklch(53.3% 0.155 140.2);
Tailwind
colors: {
  custom: {
    50: '#73a660',
    500: '#30811c',
    950: '#000000',
  },
}
SCSS
$custom: #30811c;
$custom-light: #73a660;
$custom-dark: #000000;
JSON
{
  "hex": "#30811c",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 108.119,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53314,
    "c": 0.15528,
    "h": 140.2
  },
  "luminance": 0.16413
}

Semantic roles & 50–950 ramp

primary
#30811C
secondary
#9E44B4
accent
#40E7C6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #30811C

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

Preview Lab → · Contrast checker → · Palette generator →

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