#308E2B#308E2B

#308E2B is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.1% C 0.162 H 142.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#308E2B
RGBrgb(48, 142, 43)
HSLhsl(117, 54%, 36%)
HSVhsv(117, 70%, 56%)
CMYKcmyk(66.2%, 0%, 69.7%, 44.3%)
CIE-LABlab(52.00, -47.06, 42.97)
CIE-LCHlch(52.00, 63.73, 137.60°)
OKLaboklab(57.07% -0.1281 0.0986)
OKLCHoklch(57.07% 0.162 142.4)
XYZxyz(11.3273, 20.1477, 5.5770)
Luminance0.2015 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E2B #892B8E
analogous
#628E2B #308E2B #2B8E58
triadic
#308E2B #2B308E #8E2B30
tetradic
#308E2B #2B628E #892B8E #8E582B
square
#308E2B #2B628E #892B8E #8E582B
split-complementary
#308E2B #582B8E #8E2B62
monochromatic
#10300F #205F1D #308E2B #40BD39 #69D063

Accessibility & contrast

On white

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

On black

5.03
#308E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308E2B
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308E2B#FFFFFF#000000##000000
##308E2B1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811D
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#1D8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308e2b;
/* rgb */ color: rgb(48, 142, 43);
/* oklch */ color: oklch(57.1% 0.162 142.4);
Tailwind
colors: {
  custom: {
    50: '#75b06a',
    500: '#308e2b',
    950: '#000000',
  },
}
SCSS
$custom: #308e2b;
$custom-light: #75b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#308e2b",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 116.97,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57066,
    "c": 0.16166,
    "h": 142.4
  },
  "luminance": 0.20149
}

Semantic roles & 50–950 ramp

primary
#308E2B
secondary
#B25FB6
accent
#4BDDD6
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #308E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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