#308E16#308E16

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

Color values

HEX#308E16
RGBrgb(48, 142, 22)
HSLhsl(107, 73%, 32%)
HSVhsv(107, 85%, 56%)
CMYKcmyk(66.2%, 0%, 84.5%, 44.3%)
CIE-LABlab(51.87, -48.62, 50.29)
CIE-LCHlch(51.87, 69.96, 134.03°)
OKLaboklab(56.92% -0.1334 0.111)
OKLCHoklch(56.92% 0.174 140.2)
XYZxyz(11.0362, 20.0312, 4.0437)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E16 #74168E
analogous
#6C8E16 #308E16 #168E38
triadic
#308E16 #16308E #8E1630
tetradic
#308E16 #166C8E #74168E #8E3816
square
#308E16 #166C8E #74168E #8E3816
split-complementary
#308E16 #38168E #8E166C
monochromatic
#0C2406 #1E590E #308E16 #42C31E #61E13D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308E16#FFFFFF#000000##000000
##308E161.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)
#877926
Tritanopia (blue-blind)
#218979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308e16;
/* rgb */ color: rgb(48, 142, 22);
/* oklch */ color: oklch(56.9% 0.174 140.2);
Tailwind
colors: {
  custom: {
    50: '#76b060',
    500: '#308e16',
    950: '#000000',
  },
}
SCSS
$custom: #308e16;
$custom-light: #76b060;
$custom-dark: #000000;
JSON
{
  "hex": "#308e16",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 107,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56916,
    "c": 0.17356,
    "h": 140.2
  },
  "luminance": 0.20032
}

Semantic roles & 50–950 ramp

primary
#308E16
secondary
#A53FC1
accent
#38F0C8
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1105
muted
#7C8079

Preview Lab

Preview with #308E16

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

Preview Lab → · Contrast checker → · Palette generator →

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