#308D1A#308D1A

#308D1A is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.171 H 140.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#308D1A
RGBrgb(48, 141, 26)
HSLhsl(109, 69%, 33%)
HSVhsv(109, 82%, 55%)
CMYKcmyk(66%, 0%, 81.6%, 44.7%)
CIE-LABlab(51.56, -48.04, 48.83)
CIE-LCHlch(51.56, 68.50, 134.54°)
OKLaboklab(56.66% -0.1316 0.1085)
OKLCHoklch(56.66% 0.171 140.5)
XYZxyz(10.9297, 19.7516, 4.2135)
Luminance0.1975 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D1A #771A8D
analogous
#698D1A #308D1A #1A8D3E
triadic
#308D1A #1A308D #8D1A30
tetradic
#308D1A #1A698D #771A8D #8D3E1A
square
#308D1A #1A698D #771A8D #8D3E1A
split-complementary
#308D1A #3E1A8D #8D1A69
monochromatic
#0D2607 #1E5910 #308D1A #42C124 #62DD45

Accessibility & contrast

On white

4.24
#308D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#308D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D1A
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D1A#FFFFFF#000000##000000
##308D1A1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#208878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308d1a;
/* rgb */ color: rgb(48, 141, 26);
/* oklch */ color: oklch(56.7% 0.171 140.5);
Tailwind
colors: {
  custom: {
    50: '#76af61',
    500: '#308d1a',
    950: '#000000',
  },
}
SCSS
$custom: #308d1a;
$custom-light: #76af61;
$custom-dark: #000000;
JSON
{
  "hex": "#308d1a",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 108.522,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56659,
    "c": 0.17061,
    "h": 140.5
  },
  "luminance": 0.19753
}

Semantic roles & 50–950 ramp

primary
#308D1A
secondary
#A745BE
accent
#3CECCA
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #308D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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