#307312#307312

#307312 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.3% C 0.143 H 138.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#307312
RGBrgb(48, 115, 18)
HSLhsl(101, 73%, 26%)
HSVhsv(101, 84%, 45%)
CMYKcmyk(58.3%, 0%, 84.3%, 54.9%)
CIE-LABlab(42.66, -38.79, 43.00)
CIE-LCHlch(42.66, 57.91, 132.06°)
OKLaboklab(49.29% -0.1072 0.0951)
OKLCHoklch(49.29% 0.143 138.4)
XYZxyz(7.4586, 12.9329, 2.6754)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307312 #551273
analogous
#607312 #307312 #127324
triadic
#307312 #123073 #731230
tetradic
#307312 #126073 #551273 #732412
square
#307312 #126073 #551273 #732412
split-complementary
#307312 #241273 #731260
monochromatic
#0B1A04 #1A3E0A #307312 #46A81A #5CDD23

Accessibility & contrast

On white

5.85
#307312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#307312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307312
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307312#FFFFFF#000000##FFFFFF
##3073121.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6E631E
Tritanopia (blue-blind)
#2A6F61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #307312;
/* rgb */ color: rgb(48, 115, 18);
/* oklch */ color: oklch(49.3% 0.143 138.4);
Tailwind
colors: {
  custom: {
    50: '#719c5a',
    500: '#307312',
    950: '#000000',
  },
}
SCSS
$custom: #307312;
$custom-light: #719c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#307312",
  "rgb": {
    "r": 48,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 101.443,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.4929,
    "c": 0.14332,
    "h": 138.4
  },
  "luminance": 0.12934
}

Semantic roles & 50–950 ramp

primary
#307312
secondary
#8637AA
accent
#38F0B7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #307312

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

Preview Lab → · Contrast checker → · Palette generator →

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