#308F16#308F16

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

Color values

HEX#308F16
RGBrgb(48, 143, 22)
HSLhsl(107, 73%, 32%)
HSVhsv(107, 85%, 56%)
CMYKcmyk(66.4%, 0%, 84.6%, 43.9%)
CIE-LABlab(52.21, -48.98, 50.60)
CIE-LCHlch(52.21, 70.42, 134.07°)
OKLaboklab(57.19% -0.1343 0.1117)
OKLCHoklch(57.19% 0.175 140.3)
XYZxyz(11.1857, 20.3301, 4.0935)
Luminance0.2033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F16 #75168F
analogous
#6D8F16 #308F16 #168F38
triadic
#308F16 #16308F #8F1630
tetradic
#308F16 #166D8F #75168F #8F3816
square
#308F16 #166D8F #75168F #8F3816
split-complementary
#308F16 #38168F #8F166D
monochromatic
#0C2506 #1E5A0E #308F16 #42C41E #61E13E

Accessibility & contrast

On white

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

On black

5.07
#308F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F16
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F16#FFFFFF#000000##000000
##308F161.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #308f16;
/* rgb */ color: rgb(48, 143, 22);
/* oklch */ color: oklch(57.2% 0.175 140.3);
Tailwind
colors: {
  custom: {
    50: '#76b160',
    500: '#308f16',
    950: '#000000',
  },
}
SCSS
$custom: #308f16;
$custom-light: #76b160;
$custom-dark: #000000;
JSON
{
  "hex": "#308f16",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 107.107,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57194,
    "c": 0.17469,
    "h": 140.3
  },
  "luminance": 0.20331
}

Semantic roles & 50–950 ramp

primary
#308F16
secondary
#A53FC1
accent
#38F0C8
background
#F7FBF5
surface
#EEF6EA
border
#C9D0C6
text
#0A1105
muted
#7C8079

Preview Lab

Preview with #308F16

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

Preview Lab → · Contrast checker → · Palette generator →

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