#308C29#308C29

#308C29 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.161 H 142.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#308C29
RGBrgb(48, 140, 41)
HSLhsl(116, 55%, 35%)
HSVhsv(116, 71%, 55%)
CMYKcmyk(65.7%, 0%, 70.7%, 45.1%)
CIE-LABlab(51.32, -46.52, 43.08)
CIE-LCHlch(51.32, 63.41, 137.20°)
OKLaboklab(56.49% -0.1267 0.0986)
OKLCHoklch(56.49% 0.161 142.1)
XYZxyz(10.9966, 19.5435, 5.2902)
Luminance0.1955 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C29 #85298C
analogous
#618C29 #308C29 #298C54
triadic
#308C29 #29308C #8C2930
tetradic
#308C29 #29618C #85298C #8C5429
square
#308C29 #29618C #85298C #8C5429
split-complementary
#308C29 #54298C #8C2961
monochromatic
#102D0D #205D1B #308C29 #40BB37 #67D05F

Accessibility & contrast

On white

4.28
#308C29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#308C29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C29
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C29#FFFFFF#000000##000000
##308C291.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1A
Deuteranopia (green-blind)
#847732
Tritanopia (blue-blind)
#1E8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308c29;
/* rgb */ color: rgb(48, 140, 41);
/* oklch */ color: oklch(56.5% 0.161 142.1);
Tailwind
colors: {
  custom: {
    50: '#75ae68',
    500: '#308c29',
    950: '#000000',
  },
}
SCSS
$custom: #308c29;
$custom-light: #75ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#308c29",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 41
  },
  "hsl": {
    "h": 115.758,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56493,
    "c": 0.16058,
    "h": 142.1
  },
  "luminance": 0.19545
}

Semantic roles & 50–950 ramp

primary
#308C29
secondary
#AF5BB6
accent
#4ADED4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308C29

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

Preview Lab → · Contrast checker → · Palette generator →

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