#307512#307512

#307512 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.9% C 0.146 H 138.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#307512
RGBrgb(48, 117, 18)
HSLhsl(102, 73%, 26%)
HSVhsv(102, 85%, 46%)
CMYKcmyk(59%, 0%, 84.6%, 54.1%)
CIE-LABlab(43.35, -39.58, 43.63)
CIE-LCHlch(43.35, 58.91, 132.21°)
OKLaboklab(49.86% -0.1093 0.0965)
OKLCHoklch(49.86% 0.146 138.6)
XYZxyz(7.6891, 13.3940, 2.7523)
Luminance0.1340 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307512 #571275
analogous
#627512 #307512 #127526
triadic
#307512 #123075 #751230
tetradic
#307512 #126275 #571275 #752612
square
#307512 #126275 #571275 #752612
split-complementary
#307512 #261275 #751262
monochromatic
#0B1B04 #1A400A #307512 #46AA1A #5CDD24

Accessibility & contrast

On white

5.71
#307512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#307512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307512
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307512#FFFFFF#000000##FFFFFF
##3075121.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#297163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #307512;
/* rgb */ color: rgb(48, 117, 18);
/* oklch */ color: oklch(49.9% 0.146 138.6);
Tailwind
colors: {
  custom: {
    50: '#719d5a',
    500: '#307512',
    950: '#000000',
  },
}
SCSS
$custom: #307512;
$custom-light: #719d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#307512",
  "rgb": {
    "r": 48,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 101.818,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49859,
    "c": 0.14579,
    "h": 138.6
  },
  "luminance": 0.13395
}

Semantic roles & 50–950 ramp

primary
#307512
secondary
#8837AC
accent
#38F0B8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #307512

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

Preview Lab → · Contrast checker → · Palette generator →

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