#308F29#308F29

#308F29 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.164 H 142.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#308F29
RGBrgb(48, 143, 41)
HSLhsl(116, 55%, 36%)
HSVhsv(116, 71%, 56%)
CMYKcmyk(66.4%, 0%, 71.3%, 43.9%)
CIE-LABlab(52.32, -47.62, 44.14)
CIE-LCHlch(52.32, 64.93, 137.17°)
OKLaboklab(57.33% -0.1297 0.1008)
OKLCHoklch(57.33% 0.164 142.1)
XYZxyz(11.4410, 20.4322, 5.4383)
Luminance0.2043 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F29 #88298F
analogous
#638F29 #308F29 #298F55
triadic
#308F29 #29308F #8F2930
tetradic
#308F29 #29638F #88298F #8F5529
square
#308F29 #29638F #88298F #8F5529
split-complementary
#308F29 #55298F #8F2963
monochromatic
#10300E #205F1B #308F29 #40BF37 #69D261

Accessibility & contrast

On white

4.13
#308F29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#308F29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F29
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F29#FFFFFF#000000##000000
##308F291.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928219
Deuteranopia (green-blind)
#877A33
Tritanopia (blue-blind)
#1D8B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308f29;
/* rgb */ color: rgb(48, 143, 41);
/* oklch */ color: oklch(57.3% 0.164 142.1);
Tailwind
colors: {
  custom: {
    50: '#75b169',
    500: '#308f29',
    950: '#000000',
  },
}
SCSS
$custom: #308f29;
$custom-light: #75b169;
$custom-dark: #000000;
JSON
{
  "hex": "#308f29",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 41
  },
  "hsl": {
    "h": 115.882,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57325,
    "c": 0.16428,
    "h": 142.1
  },
  "luminance": 0.20433
}

Semantic roles & 50–950 ramp

primary
#308F29
secondary
#B15CB7
accent
#49DFD4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #308F29

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

Preview Lab → · Contrast checker → · Palette generator →

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