#308E2F#308E2F

#308E2F is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.159 H 143.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#308E2F
RGBrgb(48, 142, 47)
HSLhsl(119, 50%, 37%)
HSVhsv(119, 67%, 56%)
CMYKcmyk(66.2%, 0%, 66.9%, 44.3%)
CIE-LABlab(52.04, -46.66, 41.27)
CIE-LCHlch(52.04, 62.29, 138.50°)
OKLaboklab(57.11% -0.1268 0.0955)
OKLCHoklch(57.11% 0.159 143)
XYZxyz(11.4044, 20.1785, 5.9826)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E2F #8D2F8E
analogous
#608E2F #308E2F #2F8E5D
triadic
#308E2F #2F308E #8E2F30
tetradic
#308E2F #2F608E #8D2F8E #8E5D2F
square
#308E2F #2F608E #8D2F8E #8E5D2F
split-complementary
#308E2F #5D2F8E #8E2F60
monochromatic
#113211 #206020 #308E2F #40BC3E #6BCE6A

Accessibility & contrast

On white

4.17
#308E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#308E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308E2F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308E2F#FFFFFF#000000##000000
##308E2F1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#867937
Tritanopia (blue-blind)
#1B8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308e2f;
/* rgb */ color: rgb(48, 142, 47);
/* oklch */ color: oklch(57.1% 0.159 143.0);
Tailwind
colors: {
  custom: {
    50: '#75b06c',
    500: '#308e2f',
    950: '#000000',
  },
}
SCSS
$custom: #308e2f;
$custom-light: #75b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#308e2f",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 119.368,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57106,
    "c": 0.15873,
    "h": 143
  },
  "luminance": 0.2018
}

Semantic roles & 50–950 ramp

primary
#308E2F
secondary
#B464B5
accent
#4EDAD8
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#091107
muted
#7B807A

Preview Lab

Preview with #308E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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