#307E1C#307E1C

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

Color values

HEX#307E1C
RGBrgb(48, 126, 28)
HSLhsl(108, 64%, 30%)
HSVhsv(108, 78%, 49%)
CMYKcmyk(61.9%, 0%, 77.8%, 50.6%)
CIE-LABlab(46.49, -42.40, 43.27)
CIE-LCHlch(46.49, 60.58, 134.42°)
OKLaboklab(52.47% -0.1163 0.0972)
OKLCHoklch(52.47% 0.152 140.1)
XYZxyz(8.8890, 15.6331, 3.6474)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E1C #6A1C7E
analogous
#617E1C #307E1C #1C7E39
triadic
#307E1C #1C307E #7E1C30
tetradic
#307E1C #1C617E #6A1C7E #7E391C
square
#307E1C #1C617E #6A1C7E #7E391C
split-complementary
#307E1C #391C7E #7E1C61
monochromatic
#0A1A06 #1D4C11 #307E1C #43B027 #5ED540

Accessibility & contrast

On white

5.09
#307E1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #307E1C
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307E1C#FFFFFF#000000##FFFFFF
##307E1C1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827207
Deuteranopia (green-blind)
#786C27
Tritanopia (blue-blind)
#267A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307e1c;
/* rgb */ color: rgb(48, 126, 28);
/* oklch */ color: oklch(52.5% 0.152 140.1);
Tailwind
colors: {
  custom: {
    50: '#73a460',
    500: '#307e1c',
    950: '#000000',
  },
}
SCSS
$custom: #307e1c;
$custom-light: #73a460;
$custom-dark: #000000;
JSON
{
  "hex": "#307e1c",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 107.755,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5247,
    "c": 0.1516,
    "h": 140.1
  },
  "luminance": 0.15634
}

Semantic roles & 50–950 ramp

primary
#307E1C
secondary
#9B44B2
accent
#41E7C5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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