#308129#308129

#308129 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.147 H 142.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#308129
RGBrgb(48, 129, 41)
HSLhsl(115, 52%, 33%)
HSVhsv(115, 68%, 51%)
CMYKcmyk(62.8%, 0%, 68.2%, 49.4%)
CIE-LABlab(47.61, -42.39, 39.11)
CIE-LCHlch(47.61, 57.67, 137.30°)
OKLaboklab(53.43% -0.1155 0.0903)
OKLCHoklch(53.43% 0.147 142)
XYZxyz(9.4689, 16.4881, 4.7809)
Luminance0.1649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308129 #7A2981
analogous
#5C8129 #308129 #29814E
triadic
#308129 #293081 #812930
tetradic
#308129 #295C81 #7A2981 #814E29
square
#308129 #295C81 #7A2981 #814E29
split-complementary
#308129 #4E2981 #81295C
monochromatic
#0D240B #1F531A #308129 #41AF38 #63CB5A

Accessibility & contrast

On white

4.89
#308129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#308129 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308129
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308129#FFFFFF#000000##FFFFFF
##3081291.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751E
Deuteranopia (green-blind)
#7A6E31
Tritanopia (blue-blind)
#227D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #308129;
/* rgb */ color: rgb(48, 129, 41);
/* oklch */ color: oklch(53.4% 0.147 142.0);
Tailwind
colors: {
  custom: {
    50: '#72a667',
    500: '#308129',
    950: '#000000',
  },
}
SCSS
$custom: #308129;
$custom-light: #72a667;
$custom-dark: #000000;
JSON
{
  "hex": "#308129",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 115.227,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53427,
    "c": 0.14661,
    "h": 142
  },
  "luminance": 0.16489
}

Semantic roles & 50–950 ramp

primary
#308129
secondary
#A956B0
accent
#4DDBD0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #308129

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

Preview Lab → · Contrast checker → · Palette generator →

#308129 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva