#308112#308112

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

Color values

HEX#308112
RGBrgb(48, 129, 18)
HSLhsl(104, 76%, 29%)
HSVhsv(104, 86%, 51%)
CMYKcmyk(62.8%, 0%, 86%, 49.4%)
CIE-LABlab(47.46, -44.14, 47.38)
CIE-LCHlch(47.46, 64.75, 132.97°)
OKLaboklab(53.26% -0.1215 0.1043)
OKLCHoklch(53.26% 0.16 139.4)
XYZxyz(9.1780, 16.3717, 3.2485)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308112 #631281
analogous
#688112 #308112 #12812C
triadic
#308112 #123081 #811230
tetradic
#308112 #126881 #631281 #812C12
square
#308112 #126881 #631281 #812C12
split-complementary
#308112 #2C1281 #811268
monochromatic
#0A1B04 #1C4B0B #308112 #44B719 #5DE22C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308112#FFFFFF#000000##FFFFFF
##3081121.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)
#7B6E21
Tritanopia (blue-blind)
#267C6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #308112;
/* rgb */ color: rgb(48, 129, 18);
/* oklch */ color: oklch(53.3% 0.160 139.4);
Tailwind
colors: {
  custom: {
    50: '#74a65c',
    500: '#308112',
    950: '#000000',
  },
}
SCSS
$custom: #308112;
$custom-light: #74a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#308112",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 103.784,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53255,
    "c": 0.16018,
    "h": 139.4
  },
  "luminance": 0.16373
}

Semantic roles & 50–950 ramp

primary
#308112
secondary
#9438B7
accent
#36F2BF
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #308112

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

Preview Lab → · Contrast checker → · Palette generator →

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