#307311#307311

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

Color values

HEX#307311
RGBrgb(48, 115, 17)
HSLhsl(101, 74%, 26%)
HSVhsv(101, 85%, 45%)
CMYKcmyk(58.3%, 0%, 85.2%, 54.9%)
CIE-LABlab(42.66, -38.85, 43.30)
CIE-LCHlch(42.66, 58.17, 131.90°)
OKLaboklab(49.28% -0.1074 0.0956)
OKLCHoklch(49.28% 0.144 138.3)
XYZxyz(7.4506, 12.9297, 2.6333)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307311 #541173
analogous
#617311 #307311 #117323
triadic
#307311 #113073 #731130
tetradic
#307311 #116173 #541173 #732311
square
#307311 #116173 #541173 #732311
split-complementary
#307311 #231173 #731161
monochromatic
#0B1B04 #1A3E09 #307311 #46A819 #5DDE21

Accessibility & contrast

On white

5.86
#307311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #307311
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307311#FFFFFF#000000##FFFFFF
##3073111.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #307311;
/* rgb */ color: rgb(48, 115, 17);
/* oklch */ color: oklch(49.3% 0.144 138.3);
Tailwind
colors: {
  custom: {
    50: '#719c59',
    500: '#307311',
    950: '#000000',
  },
}
SCSS
$custom: #307311;
$custom-light: #719c59;
$custom-dark: #000000;
JSON
{
  "hex": "#307311",
  "rgb": {
    "r": 48,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 101.02,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49284,
    "c": 0.14379,
    "h": 138.3
  },
  "luminance": 0.1293
}

Semantic roles & 50–950 ramp

primary
#307311
secondary
#8536AA
accent
#37F1B6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #307311

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

Preview Lab → · Contrast checker → · Palette generator →

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