#308F1A#308F1A

#308F1A is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.173 H 140.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#308F1A
RGBrgb(48, 143, 26)
HSLhsl(109, 69%, 33%)
HSVhsv(109, 82%, 56%)
CMYKcmyk(66.4%, 0%, 81.8%, 43.9%)
CIE-LABlab(52.23, -48.75, 49.46)
CIE-LCHlch(52.23, 69.45, 134.59°)
OKLaboklab(57.22% -0.1336 0.1098)
OKLCHoklch(57.22% 0.173 140.6)
XYZxyz(11.2273, 20.3468, 4.3127)
Luminance0.2035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F1A #791A8F
analogous
#6A8F1A #308F1A #1A8F3E
triadic
#308F1A #1A308F #8F1A30
tetradic
#308F1A #1A6A8F #791A8F #8F3E1A
square
#308F1A #1A6A8F #791A8F #8F3E1A
split-complementary
#308F1A #3E1A8F #8F1A6A
monochromatic
#0D2707 #1F5B11 #308F1A #41C323 #62DD46

Accessibility & contrast

On white

4.14
#308F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#308F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F1A
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F1A#FFFFFF#000000##000000
##308F1A1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#208A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308f1a;
/* rgb */ color: rgb(48, 143, 26);
/* oklch */ color: oklch(57.2% 0.173 140.6);
Tailwind
colors: {
  custom: {
    50: '#76b161',
    500: '#308f1a',
    950: '#000000',
  },
}
SCSS
$custom: #308f1a;
$custom-light: #76b161;
$custom-dark: #000000;
JSON
{
  "hex": "#308f1a",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 108.718,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57215,
    "c": 0.17293,
    "h": 140.6
  },
  "luminance": 0.20348
}

Semantic roles & 50–950 ramp

primary
#308F1A
secondary
#A846BF
accent
#3CECCB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #308F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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