#308A29#308A29

#308A29 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.158 H 142.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#308A29
RGBrgb(48, 138, 41)
HSLhsl(116, 54%, 35%)
HSVhsv(116, 70%, 54%)
CMYKcmyk(65.2%, 0%, 70.3%, 45.9%)
CIE-LABlab(50.65, -45.79, 42.37)
CIE-LCHlch(50.65, 62.38, 137.22°)
OKLaboklab(55.94% -0.1247 0.0971)
OKLCHoklch(55.94% 0.158 142.1)
XYZxyz(10.7071, 18.9644, 5.1936)
Luminance0.1897 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308A29 #83298A
analogous
#618A29 #308A29 #298A52
triadic
#308A29 #29308A #8A2930
tetradic
#308A29 #29618A #83298A #8A5229
square
#308A29 #29618A #83298A #8A5229
split-complementary
#308A29 #52298A #8A2961
monochromatic
#0F2C0D #205B1B #308A29 #40B937 #66CF5E

Accessibility & contrast

On white

4.38
#308A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#308A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308A29
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308A29#FFFFFF#000000##000000
##308A291.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1B
Deuteranopia (green-blind)
#827632
Tritanopia (blue-blind)
#1F8676
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #308a29;
/* rgb */ color: rgb(48, 138, 41);
/* oklch */ color: oklch(55.9% 0.158 142.1);
Tailwind
colors: {
  custom: {
    50: '#74ad68',
    500: '#308a29',
    950: '#000000',
  },
}
SCSS
$custom: #308a29;
$custom-light: #74ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#308a29",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 115.67,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55937,
    "c": 0.15809,
    "h": 142.1
  },
  "luminance": 0.18965
}

Semantic roles & 50–950 ramp

primary
#308A29
secondary
#AE5AB5
accent
#4ADED3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308A29

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

Preview Lab → · Contrast checker → · Palette generator →

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