#308E2A#308E2A

#308E2A is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.1% C 0.162 H 142.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#308E2A
RGBrgb(48, 142, 42)
HSLhsl(116, 54%, 36%)
HSVhsv(116, 70%, 56%)
CMYKcmyk(66.2%, 0%, 70.4%, 44.3%)
CIE-LABlab(52.00, -47.16, 43.38)
CIE-LCHlch(52.00, 64.08, 137.39°)
OKLaboklab(57.06% -0.1284 0.0994)
OKLCHoklch(57.06% 0.162 142.3)
XYZxyz(11.3092, 20.1404, 5.4815)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E2A #882A8E
analogous
#628E2A #308E2A #2A8E56
triadic
#308E2A #2A308E #8E2A30
tetradic
#308E2A #2A628E #882A8E #8E562A
square
#308E2A #2A628E #882A8E #8E562A
split-complementary
#308E2A #562A8E #8E2A62
monochromatic
#10300E #205F1C #308E2A #40BD38 #69D162

Accessibility & contrast

On white

4.18
#308E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#308E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308E2A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308E2A#FFFFFF#000000##000000
##308E2A1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811B
Deuteranopia (green-blind)
#867933
Tritanopia (blue-blind)
#1D8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308e2a;
/* rgb */ color: rgb(48, 142, 42);
/* oklch */ color: oklch(57.1% 0.162 142.3);
Tailwind
colors: {
  custom: {
    50: '#75b069',
    500: '#308e2a',
    950: '#000000',
  },
}
SCSS
$custom: #308e2a;
$custom-light: #75b069;
$custom-dark: #000000;
JSON
{
  "hex": "#308e2a",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 116.4,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57057,
    "c": 0.16237,
    "h": 142.3
  },
  "luminance": 0.20142
}

Semantic roles & 50–950 ramp

primary
#308E2A
secondary
#B15DB6
accent
#4ADED5
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #308E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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