#307E1F#307E1F

#307E1F is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.150 H 140.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#307E1F
RGBrgb(48, 126, 31)
HSLhsl(109, 61%, 31%)
HSVhsv(109, 75%, 49%)
CMYKcmyk(61.9%, 0%, 75.4%, 50.6%)
CIE-LABlab(46.51, -42.16, 42.15)
CIE-LCHlch(46.51, 59.62, 135.01°)
OKLaboklab(52.49% -0.1155 0.0953)
OKLCHoklch(52.49% 0.15 140.5)
XYZxyz(8.9267, 15.6482, 3.8460)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E1F #6D1F7E
analogous
#5F7E1F #307E1F #1F7E3D
triadic
#307E1F #1F307E #7E1F30
tetradic
#307E1F #1F5F7E #6D1F7E #7E3D1F
square
#307E1F #1F5F7E #6D1F7E #7E3D1F
split-complementary
#307E1F #3D1F7E #7E1F5F
monochromatic
#0B1C07 #1D4D13 #307E1F #43AF2B #5FD146

Accessibility & contrast

On white

5.08
#307E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#307E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307E1F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307E1F#FFFFFF#000000##FFFFFF
##307E1F1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720E
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#257A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307e1f;
/* rgb */ color: rgb(48, 126, 31);
/* oklch */ color: oklch(52.5% 0.150 140.5);
Tailwind
colors: {
  custom: {
    50: '#72a461',
    500: '#307e1f',
    950: '#000000',
  },
}
SCSS
$custom: #307e1f;
$custom-light: #72a461;
$custom-dark: #000000;
JSON
{
  "hex": "#307e1f",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 109.263,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52493,
    "c": 0.14977,
    "h": 140.5
  },
  "luminance": 0.15649
}

Semantic roles & 50–950 ramp

primary
#307E1F
secondary
#9E48B1
accent
#44E4C7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #307E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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