#308B26#308B26

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

Color values

HEX#308B26
RGBrgb(48, 139, 38)
HSLhsl(114, 57%, 35%)
HSVhsv(114, 73%, 55%)
CMYKcmyk(65.5%, 0%, 72.7%, 45.5%)
CIE-LABlab(50.96, -46.43, 43.94)
CIE-LCHlch(50.96, 63.92, 136.58°)
OKLaboklab(56.19% -0.1266 0.1)
OKLCHoklch(56.19% 0.161 141.7)
XYZxyz(10.8008, 19.2325, 4.9764)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B26 #81268B
analogous
#638B26 #308B26 #268B4E
triadic
#308B26 #26308B #8B2630
tetradic
#308B26 #26638B #81268B #8B4E26
square
#308B26 #26638B #81268B #8B4E26
split-complementary
#308B26 #4E268B #8B2663
monochromatic
#0F2B0C #1F5B19 #308B26 #41BB33 #66D25A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308B26#FFFFFF#000000##000000
##308B261.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)
#8E7E16
Deuteranopia (green-blind)
#837730
Tritanopia (blue-blind)
#1F8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #308b26;
/* rgb */ color: rgb(48, 139, 38);
/* oklch */ color: oklch(56.2% 0.161 141.7);
Tailwind
colors: {
  custom: {
    50: '#75ae67',
    500: '#308b26',
    950: '#000000',
  },
}
SCSS
$custom: #308b26;
$custom-light: #75ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#308b26",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 114.059,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56188,
    "c": 0.16137,
    "h": 141.7
  },
  "luminance": 0.19234
}

Semantic roles & 50–950 ramp

primary
#308B26
secondary
#AD56B7
accent
#47E0D1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308B26

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

Preview Lab → · Contrast checker → · Palette generator →

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