#308D26#308D26

#308D26 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.164 H 141.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#308D26
RGBrgb(48, 141, 38)
HSLhsl(114, 58%, 35%)
HSVhsv(114, 73%, 55%)
CMYKcmyk(66%, 0%, 73%, 44.7%)
CIE-LABlab(51.63, -47.16, 44.63)
CIE-LCHlch(51.63, 64.93, 136.58°)
OKLaboklab(56.74% -0.1286 0.1015)
OKLCHoklch(56.74% 0.164 141.7)
XYZxyz(11.0931, 19.8170, 5.0738)
Luminance0.1982 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D26 #83268D
analogous
#638D26 #308D26 #268D50
triadic
#308D26 #26308D #8D2630
tetradic
#308D26 #26638D #83268D #8D5026
square
#308D26 #26638D #83268D #8D5026
split-complementary
#308D26 #50268D #8D2663
monochromatic
#0F2D0C #205D19 #308D26 #40BD33 #66D35B

Accessibility & contrast

On white

4.23
#308D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#308D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D26
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D26#FFFFFF#000000##000000
##308D261.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908015
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#1E8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308d26;
/* rgb */ color: rgb(48, 141, 38);
/* oklch */ color: oklch(56.7% 0.164 141.7);
Tailwind
colors: {
  custom: {
    50: '#75af67',
    500: '#308d26',
    950: '#000000',
  },
}
SCSS
$custom: #308d26;
$custom-light: #75af67;
$custom-dark: #000000;
JSON
{
  "hex": "#308d26",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 114.175,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56744,
    "c": 0.16383,
    "h": 141.7
  },
  "luminance": 0.19818
}

Semantic roles & 50–950 ramp

primary
#308D26
secondary
#AE57B8
accent
#47E1D2
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308D26

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

Preview Lab → · Contrast checker → · Palette generator →

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