#307112#307112

#307112 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.141 H 138.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#307112
RGBrgb(48, 113, 18)
HSLhsl(101, 73%, 26%)
HSVhsv(101, 84%, 44%)
CMYKcmyk(57.5%, 0%, 84.1%, 55.7%)
CIE-LABlab(41.97, -37.99, 42.36)
CIE-LCHlch(41.97, 56.90, 131.89°)
OKLaboklab(48.72% -0.1051 0.0938)
OKLCHoklch(48.72% 0.141 138.3)
XYZxyz(7.2330, 12.4817, 2.6002)
Luminance0.1248 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307112 #531271
analogous
#5F7112 #307112 #127124
triadic
#307112 #123071 #711230
tetradic
#307112 #125F71 #531271 #712412
square
#307112 #125F71 #531271 #712412
split-complementary
#307112 #241271 #71125F
monochromatic
#0B1A04 #1A3C0A #307112 #46A61A #5DDB23

Accessibility & contrast

On white

6.01
#307112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#307112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307112
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307112#FFFFFF#000000##FFFFFF
##3071121.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6D611D
Tritanopia (blue-blind)
#2A6D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #307112;
/* rgb */ color: rgb(48, 113, 18);
/* oklch */ color: oklch(48.7% 0.141 138.3);
Tailwind
colors: {
  custom: {
    50: '#719a59',
    500: '#307112',
    950: '#000000',
  },
}
SCSS
$custom: #307112;
$custom-light: #719a59;
$custom-dark: #000000;
JSON
{
  "hex": "#307112",
  "rgb": {
    "r": 48,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 101.053,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4872,
    "c": 0.14084,
    "h": 138.3
  },
  "luminance": 0.12482
}

Semantic roles & 50–950 ramp

primary
#307112
secondary
#8437A8
accent
#39EFB6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #307112

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

Preview Lab → · Contrast checker → · Palette generator →

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