#308A1E#308A1E

#308A1E is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.165 H 140.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#308A1E
RGBrgb(48, 138, 30)
HSLhsl(110, 64%, 33%)
HSVhsv(110, 78%, 54%)
CMYKcmyk(65.2%, 0%, 78.3%, 45.9%)
CIE-LABlab(50.57, -46.70, 46.56)
CIE-LCHlch(50.57, 65.95, 135.09°)
OKLaboklab(55.85% -0.1278 0.1044)
OKLCHoklch(55.85% 0.165 140.8)
XYZxyz(10.5412, 18.8980, 4.3202)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308A1E #781E8A
analogous
#668A1E #308A1E #1E8A42
triadic
#308A1E #1E308A #8A1E30
tetradic
#308A1E #1E668A #781E8A #8A421E
square
#308A1E #1E668A #781E8A #8A421E
split-complementary
#308A1E #421E8A #8A1E66
monochromatic
#0D2508 #1F5813 #308A1E #41BC29 #62D84B

Accessibility & contrast

On white

4.39
#308A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#308A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308A1E
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308A1E#FFFFFF#000000##000000
##308A1E1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D04
Deuteranopia (green-blind)
#83762A
Tritanopia (blue-blind)
#218576
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #308a1e;
/* rgb */ color: rgb(48, 138, 30);
/* oklch */ color: oklch(55.8% 0.165 140.8);
Tailwind
colors: {
  custom: {
    50: '#75ad62',
    500: '#308a1e',
    950: '#000000',
  },
}
SCSS
$custom: #308a1e;
$custom-light: #75ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#308a1e",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 110,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55848,
    "c": 0.16502,
    "h": 140.8
  },
  "luminance": 0.18899
}

Semantic roles & 50–950 ramp

primary
#308A1E
secondary
#A74ABA
accent
#41E7CB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308A1E

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

Preview Lab → · Contrast checker → · Palette generator →

#308A1E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva