#307B1C#307B1C

#307B1C is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.148 H 140.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#307B1C
RGBrgb(48, 123, 28)
HSLhsl(107, 63%, 30%)
HSVhsv(107, 77%, 48%)
CMYKcmyk(61%, 0%, 77.2%, 51.8%)
CIE-LABlab(45.47, -41.25, 42.25)
CIE-LCHlch(45.47, 59.05, 134.31°)
OKLaboklab(51.62% -0.1132 0.0951)
OKLCHoklch(51.62% 0.148 140)
XYZxyz(8.5111, 14.8774, 3.5215)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B1C #671C7B
analogous
#607B1C #307B1C #1C7B37
triadic
#307B1C #1C307B #7B1C30
tetradic
#307B1C #1C607B #671C7B #7B371C
square
#307B1C #1C607B #671C7B #7B371C
split-complementary
#307B1C #371C7B #7B1C60
monochromatic
#0A1906 #1D4911 #307B1C #43AD27 #5ED33E

Accessibility & contrast

On white

5.28
#307B1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#307B1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307B1C
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307B1C#FFFFFF#000000##FFFFFF
##307B1C1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F08
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#267769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307b1c;
/* rgb */ color: rgb(48, 123, 28);
/* oklch */ color: oklch(51.6% 0.148 140.0);
Tailwind
colors: {
  custom: {
    50: '#72a25f',
    500: '#307b1c',
    950: '#000000',
  },
}
SCSS
$custom: #307b1c;
$custom-light: #72a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#307b1c",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 28
  },
  "hsl": {
    "h": 107.368,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51624,
    "c": 0.14786,
    "h": 140
  },
  "luminance": 0.14878
}

Semantic roles & 50–950 ramp

primary
#307B1C
secondary
#9844AF
accent
#42E6C3
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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