#308E1B#308E1B

#308E1B is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.171 H 140.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#308E1B
RGBrgb(48, 142, 27)
HSLhsl(109, 68%, 33%)
HSVhsv(109, 81%, 56%)
CMYKcmyk(66.2%, 0%, 81%, 44.3%)
CIE-LABlab(51.90, -48.34, 48.83)
CIE-LCHlch(51.90, 68.71, 134.71°)
OKLaboklab(56.94% -0.1324 0.1087)
OKLCHoklch(56.94% 0.171 140.6)
XYZxyz(11.0892, 20.0524, 4.3228)
Luminance0.2005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E1B #791B8E
analogous
#6A8E1B #308E1B #1B8E3F
triadic
#308E1B #1B308E #8E1B30
tetradic
#308E1B #1B6A8E #791B8E #8E3F1B
square
#308E1B #1B6A8E #791B8E #8E3F1B
split-complementary
#308E1B #3F1B8E #8E1B6A
monochromatic
#0D2707 #1F5B11 #308E1B #41C125 #62DC47

Accessibility & contrast

On white

4.19
#308E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#308E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308E1B
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308E1B#FFFFFF#000000##000000
##308E1B1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#208979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308e1b;
/* rgb */ color: rgb(48, 142, 27);
/* oklch */ color: oklch(56.9% 0.171 140.6);
Tailwind
colors: {
  custom: {
    50: '#76b062',
    500: '#308e1b',
    950: '#000000',
  },
}
SCSS
$custom: #308e1b;
$custom-light: #76b062;
$custom-dark: #000000;
JSON
{
  "hex": "#308e1b",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 109.043,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56943,
    "c": 0.17128,
    "h": 140.6
  },
  "luminance": 0.20054
}

Semantic roles & 50–950 ramp

primary
#308E1B
secondary
#A847BE
accent
#3DEBCB
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #308E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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