#308F26#308F26

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

Color values

HEX#308F26
RGBrgb(48, 143, 38)
HSLhsl(114, 58%, 35%)
HSVhsv(114, 73%, 56%)
CMYKcmyk(66.4%, 0%, 73.4%, 43.9%)
CIE-LABlab(52.30, -47.88, 45.32)
CIE-LCHlch(52.30, 65.93, 136.57°)
OKLaboklab(57.3% -0.1306 0.1029)
OKLCHoklch(57.3% 0.166 141.8)
XYZxyz(11.3906, 20.4121, 5.1730)
Luminance0.2041 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F26 #85268F
analogous
#648F26 #308F26 #268F51
triadic
#308F26 #26308F #8F2630
tetradic
#308F26 #26648F #85268F #8F5126
square
#308F26 #26648F #85268F #8F5126
split-complementary
#308F26 #51268F #8F2664
monochromatic
#102E0C #205F19 #308F26 #40BF33 #67D45C

Accessibility & contrast

On white

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

On black

5.08
#308F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F26
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F26#FFFFFF#000000##000000
##308F261.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938114
Deuteranopia (green-blind)
#877A31
Tritanopia (blue-blind)
#1D8B7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308f26;
/* rgb */ color: rgb(48, 143, 38);
/* oklch */ color: oklch(57.3% 0.166 141.8);
Tailwind
colors: {
  custom: {
    50: '#76b167',
    500: '#308f26',
    950: '#000000',
  },
}
SCSS
$custom: #308f26;
$custom-light: #76b167;
$custom-dark: #000000;
JSON
{
  "hex": "#308f26",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 114.286,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57299,
    "c": 0.16626,
    "h": 141.8
  },
  "luminance": 0.20413
}

Semantic roles & 50–950 ramp

primary
#308F26
secondary
#AF58B9
accent
#47E1D3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #308F26

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

Preview Lab → · Contrast checker → · Palette generator →

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