#308E14#308E14

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

Color values

HEX#308E14
RGBrgb(48, 142, 20)
HSLhsl(106, 75%, 32%)
HSVhsv(106, 86%, 56%)
CMYKcmyk(66.2%, 0%, 85.9%, 44.3%)
CIE-LABlab(51.86, -48.72, 50.82)
CIE-LCHlch(51.86, 70.41, 133.79°)
OKLaboklab(56.91% -0.1338 0.1118)
OKLCHoklch(56.91% 0.174 140.1)
XYZxyz(11.0177, 20.0238, 3.9460)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E14 #72148E
analogous
#6D8E14 #308E14 #148E35
triadic
#308E14 #14308E #8E1430
tetradic
#308E14 #146D8E #72148E #8E3514
square
#308E14 #146D8E #72148E #8E3514
split-complementary
#308E14 #35148E #8E146D
monochromatic
#0C2305 #1E580C #308E14 #42C41C #60E339

Accessibility & contrast

On white

4.20
#308E14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##308E14#FFFFFF#000000##000000
##308E141.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #308e14;
/* rgb */ color: rgb(48, 142, 20);
/* oklch */ color: oklch(56.9% 0.174 140.1);
Tailwind
colors: {
  custom: {
    50: '#76b05f',
    500: '#308e14',
    950: '#000000',
  },
}
SCSS
$custom: #308e14;
$custom-light: #76b05f;
$custom-dark: #000000;
JSON
{
  "hex": "#308e14",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 20
  },
  "hsl": {
    "h": 106.23,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56906,
    "c": 0.17436,
    "h": 140.1
  },
  "luminance": 0.20025
}

Semantic roles & 50–950 ramp

primary
#308E14
secondary
#A33CC2
accent
#36F2C7
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1105
muted
#7C8079

Preview Lab

Preview with #308E14

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

Preview Lab → · Contrast checker → · Palette generator →

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