#307F1E#307F1E

#307F1E is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.152 H 140.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#307F1E
RGBrgb(48, 127, 30)
HSLhsl(109, 62%, 31%)
HSVhsv(109, 76%, 50%)
CMYKcmyk(62.2%, 0%, 76.4%, 50.2%)
CIE-LABlab(46.84, -42.62, 42.87)
CIE-LCHlch(46.84, 60.46, 134.83°)
OKLaboklab(52.77% -0.1168 0.0967)
OKLCHoklch(52.77% 0.152 140.4)
XYZxyz(9.0422, 15.9000, 3.8205)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F1E #6D1E7F
analogous
#607F1E #307F1E #1E7F3C
triadic
#307F1E #1E307F #7F1E30
tetradic
#307F1E #1E607F #6D1E7F #7F3C1E
square
#307F1E #1E607F #6D1E7F #7F3C1E
split-complementary
#307F1E #3C1E7F #7F1E60
monochromatic
#0B1C07 #1D4D12 #307F1E #43B12A #5FD344

Accessibility & contrast

On white

5.02
#307F1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#307F1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F1E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F1E#FFFFFF#000000##FFFFFF
##307F1E1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730B
Deuteranopia (green-blind)
#796D28
Tritanopia (blue-blind)
#257B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307f1e;
/* rgb */ color: rgb(48, 127, 30);
/* oklch */ color: oklch(52.8% 0.152 140.4);
Tailwind
colors: {
  custom: {
    50: '#73a561',
    500: '#307f1e',
    950: '#000000',
  },
}
SCSS
$custom: #307f1e;
$custom-light: #73a561;
$custom-dark: #000000;
JSON
{
  "hex": "#307f1e",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 108.866,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52767,
    "c": 0.15164,
    "h": 140.4
  },
  "luminance": 0.15901
}

Semantic roles & 50–950 ramp

primary
#307F1E
secondary
#9E47B2
accent
#43E5C7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307F1E

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

Preview Lab → · Contrast checker → · Palette generator →

#307F1E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva