#307D1C#307D1C

#307D1C is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.150 H 140.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#307D1C
RGBrgb(48, 125, 28)
HSLhsl(108, 63%, 30%)
HSVhsv(108, 78%, 49%)
CMYKcmyk(61.6%, 0%, 77.6%, 51%)
CIE-LABlab(46.15, -42.01, 42.93)
CIE-LCHlch(46.15, 60.07, 134.38°)
OKLaboklab(52.19% -0.1153 0.0965)
OKLCHoklch(52.19% 0.15 140.1)
XYZxyz(8.7617, 15.3787, 3.6050)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307D1C #691C7D
analogous
#607D1C #307D1C #1C7D39
triadic
#307D1C #1C307D #7D1C30
tetradic
#307D1C #1C607D #691C7D #7D391C
square
#307D1C #1C607D #691C7D #7D391C
split-complementary
#307D1C #391C7D #7D1C60
monochromatic
#0A1906 #1D4B11 #307D1C #43AF27 #5ED43F

Accessibility & contrast

On white

5.15
#307D1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#307D1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307D1C
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307D1C#FFFFFF#000000##FFFFFF
##307D1C1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817107
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#26796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307d1c;
/* rgb */ color: rgb(48, 125, 28);
/* oklch */ color: oklch(52.2% 0.150 140.1);
Tailwind
colors: {
  custom: {
    50: '#72a360',
    500: '#307d1c',
    950: '#000000',
  },
}
SCSS
$custom: #307d1c;
$custom-light: #72a360;
$custom-dark: #000000;
JSON
{
  "hex": "#307d1c",
  "rgb": {
    "r": 48,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 107.629,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.52188,
    "c": 0.15036,
    "h": 140.1
  },
  "luminance": 0.15379
}

Semantic roles & 50–950 ramp

primary
#307D1C
secondary
#9A44B1
accent
#41E6C4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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