#307012#307012

#307012 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.140 H 138.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#307012
RGBrgb(48, 112, 18)
HSLhsl(101, 72%, 25%)
HSVhsv(101, 84%, 44%)
CMYKcmyk(57.1%, 0%, 83.9%, 56.1%)
CIE-LABlab(41.63, -37.59, 42.04)
CIE-LCHlch(41.63, 56.39, 131.81°)
OKLaboklab(48.44% -0.104 0.0931)
OKLCHoklch(48.44% 0.14 138.2)
XYZxyz(7.1220, 12.2598, 2.5632)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307012 #521270
analogous
#5F7012 #307012 #127023
triadic
#307012 #123070 #701230
tetradic
#307012 #125F70 #521270 #702312
square
#307012 #125F70 #521270 #702312
split-complementary
#307012 #231270 #70125F
monochromatic
#0B1A04 #193B0A #307012 #47A51A #5DD923

Accessibility & contrast

On white

6.08
#307012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#307012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307012
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307012#FFFFFF#000000##FFFFFF
##3070121.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746500
Deuteranopia (green-blind)
#6C601D
Tritanopia (blue-blind)
#2A6C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #307012;
/* rgb */ color: rgb(48, 112, 18);
/* oklch */ color: oklch(48.4% 0.140 138.2);
Tailwind
colors: {
  custom: {
    50: '#709a59',
    500: '#307012',
    950: '#000000',
  },
}
SCSS
$custom: #307012;
$custom-light: #709a59;
$custom-dark: #000000;
JSON
{
  "hex": "#307012",
  "rgb": {
    "r": 48,
    "g": 112,
    "b": 18
  },
  "hsl": {
    "h": 100.851,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48435,
    "c": 0.13959,
    "h": 138.2
  },
  "luminance": 0.1226
}

Semantic roles & 50–950 ramp

primary
#307012
secondary
#8337A7
accent
#39EFB5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #307012

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

Preview Lab → · Contrast checker → · Palette generator →

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