#307412#307412

#307412 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.145 H 138.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#307412
RGBrgb(48, 116, 18)
HSLhsl(102, 73%, 26%)
HSVhsv(102, 84%, 45%)
CMYKcmyk(58.6%, 0%, 84.5%, 54.5%)
CIE-LABlab(43.01, -39.18, 43.32)
CIE-LCHlch(43.01, 58.41, 132.13°)
OKLaboklab(49.58% -0.1083 0.0958)
OKLCHoklch(49.58% 0.145 138.5)
XYZxyz(7.5732, 13.1622, 2.7136)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307412 #561274
analogous
#617412 #307412 #127425
triadic
#307412 #123074 #741230
tetradic
#307412 #126174 #561274 #742512
square
#307412 #126174 #561274 #742512
split-complementary
#307412 #251274 #741261
monochromatic
#0B1A04 #1A3F0A #307412 #46A91A #5CDD23

Accessibility & contrast

On white

5.78
#307412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#307412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307412
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307412#FFFFFF#000000##FFFFFF
##3074121.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6F631E
Tritanopia (blue-blind)
#297062
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #307412;
/* rgb */ color: rgb(48, 116, 18);
/* oklch */ color: oklch(49.6% 0.145 138.5);
Tailwind
colors: {
  custom: {
    50: '#719d5a',
    500: '#307412',
    950: '#000000',
  },
}
SCSS
$custom: #307412;
$custom-light: #719d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#307412",
  "rgb": {
    "r": 48,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 101.633,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49575,
    "c": 0.14456,
    "h": 138.5
  },
  "luminance": 0.13163
}

Semantic roles & 50–950 ramp

primary
#307412
secondary
#8737AB
accent
#38F0B8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #307412

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

Preview Lab → · Contrast checker → · Palette generator →

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