#307612#307612

#307612 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.147 H 138.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#307612
RGBrgb(48, 118, 18)
HSLhsl(102, 74%, 27%)
HSVhsv(102, 85%, 46%)
CMYKcmyk(59.3%, 0%, 84.7%, 53.7%)
CIE-LABlab(43.70, -39.97, 43.95)
CIE-LCHlch(43.70, 59.41, 132.28°)
OKLaboklab(50.14% -0.1104 0.0971)
OKLCHoklch(50.14% 0.147 138.7)
XYZxyz(7.8062, 13.6283, 2.7913)
Luminance0.1363 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307612 #581276
analogous
#627612 #307612 #127626
triadic
#307612 #123076 #761230
tetradic
#307612 #126276 #581276 #762612
square
#307612 #126276 #581276 #762612
split-complementary
#307612 #261276 #761262
monochromatic
#0B1B04 #1A410A #307612 #46AB1A #5CDE25

Accessibility & contrast

On white

5.64
#307612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#307612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307612
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307612#FFFFFF#000000##FFFFFF
##3076121.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#71651E
Tritanopia (blue-blind)
#297264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #307612;
/* rgb */ color: rgb(48, 118, 18);
/* oklch */ color: oklch(50.1% 0.147 138.7);
Tailwind
colors: {
  custom: {
    50: '#729e5a',
    500: '#307612',
    950: '#000000',
  },
}
SCSS
$custom: #307612;
$custom-light: #729e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#307612",
  "rgb": {
    "r": 48,
    "g": 118,
    "b": 18
  },
  "hsl": {
    "h": 102,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50143,
    "c": 0.14702,
    "h": 138.7
  },
  "luminance": 0.13629
}

Semantic roles & 50–950 ramp

primary
#307612
secondary
#8937AD
accent
#38F0B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #307612

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

Preview Lab → · Contrast checker → · Palette generator →

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