#308E2E#308E2E

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

Color values

HEX#308E2E
RGBrgb(48, 142, 46)
HSLhsl(119, 51%, 37%)
HSVhsv(119, 68%, 56%)
CMYKcmyk(66.2%, 0%, 67.6%, 44.3%)
CIE-LABlab(52.03, -46.76, 41.71)
CIE-LCHlch(52.03, 62.66, 138.27°)
OKLaboklab(57.1% -0.1271 0.0963)
OKLCHoklch(57.1% 0.159 142.8)
XYZxyz(11.3844, 20.1705, 5.8776)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E2E #8C2E8E
analogous
#608E2E #308E2E #2E8E5C
triadic
#308E2E #2E308E #8E2E30
tetradic
#308E2E #2E608E #8C2E8E #8E5C2E
square
#308E2E #2E608E #8C2E8E #8E5C2E
split-complementary
#308E2E #5C2E8E #8E2E60
monochromatic
#113210 #20601F #308E2E #40BC3D #6ACE68

Accessibility & contrast

On white

4.17
#308E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##308E2E#FFFFFF#000000##000000
##308E2E1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918122
Deuteranopia (green-blind)
#867937
Tritanopia (blue-blind)
#1C8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308e2e;
/* rgb */ color: rgb(48, 142, 46);
/* oklch */ color: oklch(57.1% 0.159 142.8);
Tailwind
colors: {
  custom: {
    50: '#75b06b',
    500: '#308e2e',
    950: '#000000',
  },
}
SCSS
$custom: #308e2e;
$custom-light: #75b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#308e2e",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 118.75,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57096,
    "c": 0.15948,
    "h": 142.8
  },
  "luminance": 0.20172
}

Semantic roles & 50–950 ramp

primary
#308E2E
secondary
#B363B5
accent
#4DDBD8
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #308E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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