#308E34#308E34

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

Color values

HEX#308E34
RGBrgb(48, 142, 52)
HSLhsl(123, 49%, 37%)
HSVhsv(123, 66%, 56%)
CMYKcmyk(66.2%, 0%, 63.4%, 44.3%)
CIE-LABlab(52.09, -46.10, 39.05)
CIE-LCHlch(52.09, 60.41, 139.73°)
OKLaboklab(57.16% -0.125 0.0913)
OKLCHoklch(57.16% 0.155 143.8)
XYZxyz(11.5111, 20.2212, 6.5446)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E34 #8E308A
analogous
#5B8E30 #308E34 #308E63
triadic
#308E34 #34308E #8E3430
tetradic
#308E34 #305B8E #8E308A #8E6330
square
#308E34 #305B8E #8E308A #8E6330
split-complementary
#308E34 #63308E #8E305B
monochromatic
#113313 #216023 #308E34 #3FBC45 #6BCD6F

Accessibility & contrast

On white

4.16
#308E34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##308E34#FFFFFF#000000##000000
##308E341.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812A
Deuteranopia (green-blind)
#85793C
Tritanopia (blue-blind)
#1A8A7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308e34;
/* rgb */ color: rgb(48, 142, 52);
/* oklch */ color: oklch(57.2% 0.155 143.8);
Tailwind
colors: {
  custom: {
    50: '#75b06f',
    500: '#308e34',
    950: '#000000',
  },
}
SCSS
$custom: #308e34;
$custom-light: #75b06f;
$custom-dark: #000000;
JSON
{
  "hex": "#308e34",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 52
  },
  "hsl": {
    "h": 122.553,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57161,
    "c": 0.1548,
    "h": 143.8
  },
  "luminance": 0.20222
}

Semantic roles & 50–950 ramp

primary
#308E34
secondary
#B465B1
accent
#4FD3D9
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#091107
muted
#7B807A

Preview Lab

Preview with #308E34

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

Preview Lab → · Contrast checker → · Palette generator →

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