#308B1E#308B1E

#308B1E is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.166 H 140.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#308B1E
RGBrgb(48, 139, 30)
HSLhsl(110, 64%, 33%)
HSVhsv(110, 78%, 55%)
CMYKcmyk(65.5%, 0%, 78.4%, 45.5%)
CIE-LABlab(50.90, -47.06, 46.89)
CIE-LCHlch(50.90, 66.43, 135.11°)
OKLaboklab(56.13% -0.1288 0.1051)
OKLCHoklch(56.13% 0.166 140.8)
XYZxyz(10.6854, 19.1863, 4.3683)
Luminance0.1919 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B1E #791E8B
analogous
#668B1E #308B1E #1E8B42
triadic
#308B1E #1E308B #8B1E30
tetradic
#308B1E #1E668B #791E8B #8B421E
square
#308B1E #1E668B #791E8B #8B421E
split-complementary
#308B1E #421E8B #8B1E66
monochromatic
#0D2608 #1F5913 #308B1E #41BD29 #62D84B

Accessibility & contrast

On white

4.34
#308B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#308B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308B1E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308B1E#FFFFFF#000000##000000
##308B1E1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E04
Deuteranopia (green-blind)
#84762A
Tritanopia (blue-blind)
#218676
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #308b1e;
/* rgb */ color: rgb(48, 139, 30);
/* oklch */ color: oklch(56.1% 0.166 140.8);
Tailwind
colors: {
  custom: {
    50: '#75ae63',
    500: '#308b1e',
    950: '#000000',
  },
}
SCSS
$custom: #308b1e;
$custom-light: #75ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#308b1e",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 110.092,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56127,
    "c": 0.16622,
    "h": 140.8
  },
  "luminance": 0.19187
}

Semantic roles & 50–950 ramp

primary
#308B1E
secondary
#A84ABB
accent
#40E7CC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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