#30901B#30901B

#30901B is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.5% C 0.174 H 140.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#30901B
RGBrgb(48, 144, 27)
HSLhsl(109, 68%, 34%)
HSVhsv(109, 81%, 56%)
CMYKcmyk(66.7%, 0%, 81.3%, 43.5%)
CIE-LABlab(52.57, -49.05, 49.47)
CIE-LCHlch(52.57, 69.66, 134.75°)
OKLaboklab(57.5% -0.1343 0.11)
OKLCHoklch(57.5% 0.174 140.7)
XYZxyz(11.3894, 20.6529, 4.4229)
Luminance0.2065 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30901B #7B1B90
analogous
#6A901B #30901B #1B9040
triadic
#30901B #1B3090 #901B30
tetradic
#30901B #1B6A90 #7B1B90 #90401B
square
#30901B #1B6A90 #7B1B90 #90401B
split-complementary
#30901B #401B90 #901B6A
monochromatic
#0E2908 #1F5C11 #30901B #41C425 #63DD49

Accessibility & contrast

On white

4.09
#30901B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#30901B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30901B
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30901B#FFFFFF#000000##000000
##30901B1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#897B29
Tritanopia (blue-blind)
#1F8B7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #30901b;
/* rgb */ color: rgb(48, 144, 27);
/* oklch */ color: oklch(57.5% 0.174 140.7);
Tailwind
colors: {
  custom: {
    50: '#76b162',
    500: '#30901b',
    950: '#000000',
  },
}
SCSS
$custom: #30901b;
$custom-light: #76b162;
$custom-dark: #000000;
JSON
{
  "hex": "#30901b",
  "rgb": {
    "r": 48,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 109.231,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57499,
    "c": 0.1736,
    "h": 140.7
  },
  "luminance": 0.20654
}

Semantic roles & 50–950 ramp

primary
#30901B
secondary
#A948BF
accent
#3DEBCC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #30901B

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

Preview Lab → · Contrast checker → · Palette generator →

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