#308F14#308F14

#308F14 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.175 H 140.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#308F14
RGBrgb(48, 143, 20)
HSLhsl(106, 75%, 32%)
HSVhsv(106, 86%, 56%)
CMYKcmyk(66.4%, 0%, 86%, 43.9%)
CIE-LABlab(52.20, -49.08, 51.12)
CIE-LCHlch(52.20, 70.87, 133.83°)
OKLaboklab(57.18% -0.1347 0.1125)
OKLCHoklch(57.18% 0.175 140.1)
XYZxyz(11.1671, 20.3227, 3.9959)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F14 #73148F
analogous
#6E8F14 #308F14 #148F35
triadic
#308F14 #14308F #8F1430
tetradic
#308F14 #146E8F #73148F #8F3514
square
#308F14 #146E8F #73148F #8F3514
split-complementary
#308F14 #35148F #8F146E
monochromatic
#0C2405 #1E590C #308F14 #42C51C #61E33A

Accessibility & contrast

On white

4.15
#308F14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#308F14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F14
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F14#FFFFFF#000000##000000
##308F141.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#208A79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308f14;
/* rgb */ color: rgb(48, 143, 20);
/* oklch */ color: oklch(57.2% 0.175 140.1);
Tailwind
colors: {
  custom: {
    50: '#76b15f',
    500: '#308f14',
    950: '#000000',
  },
}
SCSS
$custom: #308f14;
$custom-light: #76b15f;
$custom-dark: #000000;
JSON
{
  "hex": "#308f14",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 20
  },
  "hsl": {
    "h": 106.341,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57185,
    "c": 0.17549,
    "h": 140.1
  },
  "luminance": 0.20324
}

Semantic roles & 50–950 ramp

primary
#308F14
secondary
#A43CC3
accent
#36F2C7
background
#F7FBF5
surface
#EEF6EA
border
#C9D0C6
text
#0A1105
muted
#7C8079

Preview Lab

Preview with #308F14

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

Preview Lab → · Contrast checker → · Palette generator →

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