#308F2E#308F2E

#308F2E is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.161 H 142.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#308F2E
RGBrgb(48, 143, 46)
HSLhsl(119, 51%, 37%)
HSVhsv(119, 68%, 56%)
CMYKcmyk(66.4%, 0%, 67.8%, 43.9%)
CIE-LABlab(52.36, -47.13, 42.07)
CIE-LCHlch(52.36, 63.17, 138.25°)
OKLaboklab(57.37% -0.1281 0.0971)
OKLCHoklch(57.37% 0.161 142.8)
XYZxyz(11.5339, 20.4694, 5.9274)
Luminance0.2047 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F2E #8D2E8F
analogous
#618F2E #308F2E #2E8F5D
triadic
#308F2E #2E308F #8F2E30
tetradic
#308F2E #2E618F #8D2E8F #8F5D2E
square
#308F2E #2E618F #8D2E8F #8F5D2E
split-complementary
#308F2E #5D2E8F #8F2E61
monochromatic
#113210 #20611F #308F2E #40BD3D #6BCF69

Accessibility & contrast

On white

4.12
#308F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##308F2E#FFFFFF#000000##000000
##308F2E1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928221
Deuteranopia (green-blind)
#877A37
Tritanopia (blue-blind)
#1B8B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308f2e;
/* rgb */ color: rgb(48, 143, 46);
/* oklch */ color: oklch(57.4% 0.161 142.8);
Tailwind
colors: {
  custom: {
    50: '#75b16b',
    500: '#308f2e',
    950: '#000000',
  },
}
SCSS
$custom: #308f2e;
$custom-light: #75b16b;
$custom-dark: #000000;
JSON
{
  "hex": "#308f2e",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 118.763,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57372,
    "c": 0.16074,
    "h": 142.8
  },
  "luminance": 0.20471
}

Semantic roles & 50–950 ramp

primary
#308F2E
secondary
#B463B6
accent
#4DDBD8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #308F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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