#308F2A#308F2A

#308F2A is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.164 H 142.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#308F2A
RGBrgb(48, 143, 42)
HSLhsl(116, 55%, 36%)
HSVhsv(116, 71%, 56%)
CMYKcmyk(66.4%, 0%, 70.6%, 43.9%)
CIE-LABlab(52.33, -47.52, 43.74)
CIE-LCHlch(52.33, 64.59, 137.38°)
OKLaboklab(57.33% -0.1294 0.1001)
OKLCHoklch(57.33% 0.164 142.3)
XYZxyz(11.4587, 20.4393, 5.5314)
Luminance0.2044 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F2A #892A8F
analogous
#638F2A #308F2A #2A8F57
triadic
#308F2A #2A308F #8F2A30
tetradic
#308F2A #2A638F #892A8F #8F572A
square
#308F2A #2A638F #892A8F #8F572A
split-complementary
#308F2A #572A8F #8F2A63
monochromatic
#10300E #20601C #308F2A #40BE38 #69D162

Accessibility & contrast

On white

4.13
#308F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#308F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F2A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F2A#FFFFFF#000000##000000
##308F2A1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92821B
Deuteranopia (green-blind)
#877A34
Tritanopia (blue-blind)
#1C8B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308f2a;
/* rgb */ color: rgb(48, 143, 42);
/* oklch */ color: oklch(57.3% 0.164 142.3);
Tailwind
colors: {
  custom: {
    50: '#75b169',
    500: '#308f2a',
    950: '#000000',
  },
}
SCSS
$custom: #308f2a;
$custom-light: #75b169;
$custom-dark: #000000;
JSON
{
  "hex": "#308f2a",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 116.436,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57334,
    "c": 0.16359,
    "h": 142.3
  },
  "luminance": 0.2044
}

Semantic roles & 50–950 ramp

primary
#308F2A
secondary
#B25EB7
accent
#4ADED5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #308F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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