#308111#308111

#308111 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.161 H 139.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#308111
RGBrgb(48, 129, 17)
HSLhsl(103, 77%, 29%)
HSVhsv(103, 87%, 51%)
CMYKcmyk(62.8%, 0%, 86.8%, 49.4%)
CIE-LABlab(47.45, -44.19, 47.64)
CIE-LCHlch(47.45, 64.98, 132.84°)
OKLaboklab(53.25% -0.1217 0.1047)
OKLCHoklch(53.25% 0.161 139.3)
XYZxyz(9.1700, 16.3685, 3.2064)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308111 #621181
analogous
#688111 #308111 #11812A
triadic
#308111 #113081 #811130
tetradic
#308111 #116881 #621181 #812A11
square
#308111 #116881 #621181 #812A11
split-complementary
#308111 #2A1181 #811168
monochromatic
#0A1B04 #1C4B0A #308111 #44B718 #5DE32A

Accessibility & contrast

On white

4.91
#308111 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#308111 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308111
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308111#FFFFFF#000000##FFFFFF
##3081111.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7B6E20
Tritanopia (blue-blind)
#267C6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #308111;
/* rgb */ color: rgb(48, 129, 17);
/* oklch */ color: oklch(53.3% 0.161 139.3);
Tailwind
colors: {
  custom: {
    50: '#74a65c',
    500: '#308111',
    950: '#000000',
  },
}
SCSS
$custom: #308111;
$custom-light: #74a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#308111",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 17
  },
  "hsl": {
    "h": 103.393,
    "s": 76.712,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5325,
    "c": 0.16058,
    "h": 139.3
  },
  "luminance": 0.16369
}

Semantic roles & 50–950 ramp

primary
#308111
secondary
#9337B7
accent
#35F3BE
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #308111

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

Preview Lab → · Contrast checker → · Palette generator →

#308111 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva