#308E1A#308E1A

#308E1A is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.172 H 140.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#308E1A
RGBrgb(48, 142, 26)
HSLhsl(109, 69%, 33%)
HSVhsv(109, 82%, 56%)
CMYKcmyk(66.2%, 0%, 81.7%, 44.3%)
CIE-LABlab(51.89, -48.40, 49.14)
CIE-LCHlch(51.89, 68.97, 134.56°)
OKLaboklab(56.94% -0.1326 0.1092)
OKLCHoklch(56.94% 0.172 140.5)
XYZxyz(11.0778, 20.0479, 4.2629)
Luminance0.2005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E1A #781A8E
analogous
#6A8E1A #308E1A #1A8E3E
triadic
#308E1A #1A308E #8E1A30
tetradic
#308E1A #1A6A8E #781A8E #8E3E1A
square
#308E1A #1A6A8E #781A8E #8E3E1A
split-complementary
#308E1A #3E1A8E #8E1A6A
monochromatic
#0D2707 #1F5A11 #308E1A #41C223 #62DD45

Accessibility & contrast

On white

4.19
#308E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#308E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308E1A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308E1A#FFFFFF#000000##000000
##308E1A1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#208979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308e1a;
/* rgb */ color: rgb(48, 142, 26);
/* oklch */ color: oklch(56.9% 0.172 140.5);
Tailwind
colors: {
  custom: {
    50: '#76b061',
    500: '#308e1a',
    950: '#000000',
  },
}
SCSS
$custom: #308e1a;
$custom-light: #76b061;
$custom-dark: #000000;
JSON
{
  "hex": "#308e1a",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 108.621,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56937,
    "c": 0.17177,
    "h": 140.5
  },
  "luminance": 0.20049
}

Semantic roles & 50–950 ramp

primary
#308E1A
secondary
#A745BE
accent
#3CECCB
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #308E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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