#308D29#308D29

#308D29 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.162 H 142.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#308D29
RGBrgb(48, 141, 41)
HSLhsl(116, 55%, 36%)
HSVhsv(116, 71%, 55%)
CMYKcmyk(66%, 0%, 70.9%, 44.7%)
CIE-LABlab(51.65, -46.89, 43.44)
CIE-LCHlch(51.65, 63.92, 137.19°)
OKLaboklab(56.77% -0.1277 0.0994)
OKLCHoklch(56.77% 0.162 142.1)
XYZxyz(11.1434, 19.8371, 5.3391)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D29 #86298D
analogous
#628D29 #308D29 #298D54
triadic
#308D29 #29308D #8D2930
tetradic
#308D29 #29628D #86298D #8D5429
square
#308D29 #29628D #86298D #8D5429
split-complementary
#308D29 #54298D #8D2962
monochromatic
#102E0D #205E1B #308D29 #40BC37 #68D160

Accessibility & contrast

On white

4.23
#308D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#308D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D29
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D29#FFFFFF#000000##000000
##308D291.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801A
Deuteranopia (green-blind)
#857833
Tritanopia (blue-blind)
#1E8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308d29;
/* rgb */ color: rgb(48, 141, 41);
/* oklch */ color: oklch(56.8% 0.162 142.1);
Tailwind
colors: {
  custom: {
    50: '#75af68',
    500: '#308d29',
    950: '#000000',
  },
}
SCSS
$custom: #308d29;
$custom-light: #75af68;
$custom-dark: #000000;
JSON
{
  "hex": "#308d29",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 115.8,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5677,
    "c": 0.16182,
    "h": 142.1
  },
  "luminance": 0.19838
}

Semantic roles & 50–950 ramp

primary
#308D29
secondary
#B05BB6
accent
#4ADED4
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308D29

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

Preview Lab → · Contrast checker → · Palette generator →

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