#308B29#308B29

#308B29 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.159 H 142.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#308B29
RGBrgb(48, 139, 41)
HSLhsl(116, 54%, 35%)
HSVhsv(116, 71%, 55%)
CMYKcmyk(65.5%, 0%, 70.5%, 45.5%)
CIE-LABlab(50.98, -46.15, 42.73)
CIE-LCHlch(50.98, 62.90, 137.21°)
OKLaboklab(56.22% -0.1257 0.0979)
OKLCHoklch(56.22% 0.159 142.1)
XYZxyz(10.8512, 19.2526, 5.2417)
Luminance0.1925 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B29 #84298B
analogous
#618B29 #308B29 #298B53
triadic
#308B29 #29308B #8B2930
tetradic
#308B29 #29618B #84298B #8B5329
square
#308B29 #29618B #84298B #8B5329
split-complementary
#308B29 #53298B #8B2961
monochromatic
#0F2C0D #205C1B #308B29 #40BA37 #67D05F

Accessibility & contrast

On white

4.33
#308B29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#308B29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308B29
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308B29#FFFFFF#000000##000000
##308B291.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1B
Deuteranopia (green-blind)
#837732
Tritanopia (blue-blind)
#1E8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #308b29;
/* rgb */ color: rgb(48, 139, 41);
/* oklch */ color: oklch(56.2% 0.159 142.1);
Tailwind
colors: {
  custom: {
    50: '#75ae68',
    500: '#308b29',
    950: '#000000',
  },
}
SCSS
$custom: #308b29;
$custom-light: #75ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#308b29",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 41
  },
  "hsl": {
    "h": 115.714,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56215,
    "c": 0.15933,
    "h": 142.1
  },
  "luminance": 0.19254
}

Semantic roles & 50–950 ramp

primary
#308B29
secondary
#AF5BB5
accent
#4ADED3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308B29

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

Preview Lab → · Contrast checker → · Palette generator →

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