#308F34#308F34

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

Color values

HEX#308F34
RGBrgb(48, 143, 52)
HSLhsl(123, 50%, 37%)
HSVhsv(123, 66%, 56%)
CMYKcmyk(66.4%, 0%, 63.6%, 43.9%)
CIE-LABlab(52.42, -46.47, 39.42)
CIE-LCHlch(52.42, 60.94, 139.69°)
OKLaboklab(57.44% -0.126 0.0921)
OKLCHoklch(57.44% 0.156 143.8)
XYZxyz(11.6605, 20.5200, 6.5944)
Luminance0.2052 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F34 #8F308B
analogous
#5C8F30 #308F34 #308F63
triadic
#308F34 #34308F #8F3430
tetradic
#308F34 #305C8F #8F308B #8F6330
square
#308F34 #305C8F #8F308B #8F6330
split-complementary
#308F34 #63308F #8F305C
monochromatic
#113313 #216123 #308F34 #3FBD45 #6CCE70

Accessibility & contrast

On white

4.11
#308F34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#308F34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F34
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F34#FFFFFF#000000##000000
##308F341.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92822A
Deuteranopia (green-blind)
#867A3C
Tritanopia (blue-blind)
#198B7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308f34;
/* rgb */ color: rgb(48, 143, 52);
/* oklch */ color: oklch(57.4% 0.156 143.8);
Tailwind
colors: {
  custom: {
    50: '#75b16f',
    500: '#308f34',
    950: '#000000',
  },
}
SCSS
$custom: #308f34;
$custom-light: #75b16f;
$custom-dark: #000000;
JSON
{
  "hex": "#308f34",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 52
  },
  "hsl": {
    "h": 122.526,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57437,
    "c": 0.15609,
    "h": 143.8
  },
  "luminance": 0.20521
}

Semantic roles & 50–950 ramp

primary
#308F34
secondary
#B566B2
accent
#4FD3D9
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #308F34

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

Preview Lab → · Contrast checker → · Palette generator →

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