#308E1C#308E1C

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

Color values

HEX#308E1C
RGBrgb(48, 142, 28)
HSLhsl(109, 67%, 33%)
HSVhsv(109, 80%, 56%)
CMYKcmyk(66.2%, 0%, 80.3%, 44.3%)
CIE-LABlab(51.90, -48.27, 48.52)
CIE-LCHlch(51.90, 68.44, 134.86°)
OKLaboklab(56.95% -0.1322 0.1082)
OKLCHoklch(56.95% 0.171 140.7)
XYZxyz(11.1010, 20.0571, 4.3848)
Luminance0.2006 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E1C #7A1C8E
analogous
#698E1C #308E1C #1C8E41
triadic
#308E1C #1C308E #8E1C30
tetradic
#308E1C #1C698E #7A1C8E #8E411C
square
#308E1C #1C698E #7A1C8E #8E411C
split-complementary
#308E1C #411C8E #8E1C69
monochromatic
#0D2808 #1F5B12 #308E1C #41C126 #63DB49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308E1C#FFFFFF#000000##000000
##308E1C1.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: #308e1c;
/* rgb */ color: rgb(48, 142, 28);
/* oklch */ color: oklch(56.9% 0.171 140.7);
Tailwind
colors: {
  custom: {
    50: '#76b062',
    500: '#308e1c',
    950: '#000000',
  },
}
SCSS
$custom: #308e1c;
$custom-light: #76b062;
$custom-dark: #000000;
JSON
{
  "hex": "#308e1c",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 109.474,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56949,
    "c": 0.17079,
    "h": 140.7
  },
  "luminance": 0.20058
}

Semantic roles & 50–950 ramp

primary
#308E1C
secondary
#A949BD
accent
#3EEACC
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #308E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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