#308C26#308C26

#308C26 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.163 H 141.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#308C26
RGBrgb(48, 140, 38)
HSLhsl(114, 57%, 35%)
HSVhsv(114, 73%, 55%)
CMYKcmyk(65.7%, 0%, 72.9%, 45.1%)
CIE-LABlab(51.29, -46.80, 44.29)
CIE-LCHlch(51.29, 64.43, 136.58°)
OKLaboklab(56.47% -0.1276 0.1007)
OKLCHoklch(56.47% 0.163 141.7)
XYZxyz(10.9463, 19.5234, 5.0249)
Luminance0.1952 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C26 #82268C
analogous
#638C26 #308C26 #268C4F
triadic
#308C26 #26308C #8C2630
tetradic
#308C26 #26638C #82268C #8C4F26
square
#308C26 #26638C #82268C #8C4F26
split-complementary
#308C26 #4F268C #8C2663
monochromatic
#0F2C0C #1F5C19 #308C26 #41BC33 #66D25A

Accessibility & contrast

On white

4.28
#308C26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#308C26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C26
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C26#FFFFFF#000000##000000
##308C261.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F15
Deuteranopia (green-blind)
#847730
Tritanopia (blue-blind)
#1F8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308c26;
/* rgb */ color: rgb(48, 140, 38);
/* oklch */ color: oklch(56.5% 0.163 141.7);
Tailwind
colors: {
  custom: {
    50: '#75ae67',
    500: '#308c26',
    950: '#000000',
  },
}
SCSS
$custom: #308c26;
$custom-light: #75ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#308c26",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 38
  },
  "hsl": {
    "h": 114.118,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56466,
    "c": 0.1626,
    "h": 141.7
  },
  "luminance": 0.19524
}

Semantic roles & 50–950 ramp

primary
#308C26
secondary
#AE57B7
accent
#47E1D2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308C26

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

Preview Lab → · Contrast checker → · Palette generator →

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