#308E26#308E26

#308E26 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.165 H 141.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#308E26
RGBrgb(48, 142, 38)
HSLhsl(114, 58%, 35%)
HSVhsv(114, 73%, 56%)
CMYKcmyk(66.2%, 0%, 73.2%, 44.3%)
CIE-LABlab(51.97, -47.52, 44.98)
CIE-LCHlch(51.97, 65.43, 136.58°)
OKLaboklab(57.02% -0.1296 0.1022)
OKLCHoklch(57.02% 0.165 141.7)
XYZxyz(11.2412, 20.1132, 5.1232)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E26 #84268E
analogous
#648E26 #308E26 #268E50
triadic
#308E26 #26308E #8E2630
tetradic
#308E26 #26648E #84268E #8E5026
square
#308E26 #26648E #84268E #8E5026
split-complementary
#308E26 #50268E #8E2664
monochromatic
#0F2D0C #205E19 #308E26 #40BE33 #67D35B

Accessibility & contrast

On white

4.18
#308E26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#308E26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308E26
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308E26#FFFFFF#000000##000000
##308E261.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918115
Deuteranopia (green-blind)
#867930
Tritanopia (blue-blind)
#1E8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308e26;
/* rgb */ color: rgb(48, 142, 38);
/* oklch */ color: oklch(57.0% 0.165 141.7);
Tailwind
colors: {
  custom: {
    50: '#75b067',
    500: '#308e26',
    950: '#000000',
  },
}
SCSS
$custom: #308e26;
$custom-light: #75b067;
$custom-dark: #000000;
JSON
{
  "hex": "#308e26",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 114.231,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57022,
    "c": 0.16504,
    "h": 141.7
  },
  "luminance": 0.20114
}

Semantic roles & 50–950 ramp

primary
#308E26
secondary
#AF58B8
accent
#47E1D2
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #308E26

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

Preview Lab → · Contrast checker → · Palette generator →

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