#308E1F#308E1F

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

Color values

HEX#308E1F
RGBrgb(48, 142, 31)
HSLhsl(111, 64%, 34%)
HSVhsv(111, 78%, 56%)
CMYKcmyk(66.2%, 0%, 78.2%, 44.3%)
CIE-LABlab(51.92, -48.07, 47.53)
CIE-LCHlch(51.92, 67.60, 135.33°)
OKLaboklab(56.97% -0.1315 0.1065)
OKLCHoklch(56.97% 0.169 141)
XYZxyz(11.1387, 20.0722, 4.5834)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E1F #7D1F8E
analogous
#688E1F #308E1F #1F8E46
triadic
#308E1F #1F308E #8E1F30
tetradic
#308E1F #1F688E #7D1F8E #8E461F
square
#308E1F #1F688E #7D1F8E #8E461F
split-complementary
#308E1F #461F8E #8E1F68
monochromatic
#0E2A09 #1F5C14 #308E1F #41C02A #64D94F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308E1F#FFFFFF#000000##000000
##308E1F1.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)
#928004
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#1F8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308e1f;
/* rgb */ color: rgb(48, 142, 31);
/* oklch */ color: oklch(57.0% 0.169 141.0);
Tailwind
colors: {
  custom: {
    50: '#76b063',
    500: '#308e1f',
    950: '#000000',
  },
}
SCSS
$custom: #308e1f;
$custom-light: #76b063;
$custom-dark: #000000;
JSON
{
  "hex": "#308e1f",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 110.811,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56969,
    "c": 0.16922,
    "h": 141
  },
  "luminance": 0.20073
}

Semantic roles & 50–950 ramp

primary
#308E1F
secondary
#AB4DBB
accent
#41E7CE
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #308E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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