#307F1B#307F1B

#307F1B is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.153 H 140.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#307F1B
RGBrgb(48, 127, 27)
HSLhsl(107, 65%, 30%)
HSVhsv(107, 79%, 50%)
CMYKcmyk(62.2%, 0%, 78.7%, 50.2%)
CIE-LABlab(46.82, -42.85, 43.96)
CIE-LCHlch(46.82, 61.39, 134.27°)
OKLaboklab(52.74% -0.1176 0.0985)
OKLCHoklch(52.74% 0.153 140.1)
XYZxyz(9.0057, 15.8854, 3.6283)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F1B #6A1B7F
analogous
#627F1B #307F1B #1B7F38
triadic
#307F1B #1B307F #7F1B30
tetradic
#307F1B #1B627F #6A1B7F #7F381B
square
#307F1B #1B627F #6A1B7F #7F381B
split-complementary
#307F1B #381B7F #7F1B62
monochromatic
#0A1A06 #1D4D10 #307F1B #43B126 #5ED63E

Accessibility & contrast

On white

5.03
#307F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #307F1B
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F1B#FFFFFF#000000##FFFFFF
##307F1B1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837304
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#257B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307f1b;
/* rgb */ color: rgb(48, 127, 27);
/* oklch */ color: oklch(52.7% 0.153 140.1);
Tailwind
colors: {
  custom: {
    50: '#73a55f',
    500: '#307f1b',
    950: '#000000',
  },
}
SCSS
$custom: #307f1b;
$custom-light: #73a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#307f1b",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 107.4,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52744,
    "c": 0.15341,
    "h": 140.1
  },
  "luminance": 0.15886
}

Semantic roles & 50–950 ramp

primary
#307F1B
secondary
#9B43B3
accent
#40E8C5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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