#307A1B#307A1B

#307A1B is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.147 H 139.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#307A1B
RGBrgb(48, 122, 27)
HSLhsl(107, 64%, 29%)
HSVhsv(107, 78%, 48%)
CMYKcmyk(60.7%, 0%, 77.9%, 52.2%)
CIE-LABlab(45.12, -40.93, 42.28)
CIE-LCHlch(45.12, 58.85, 134.07°)
OKLaboklab(51.33% -0.1124 0.095)
OKLCHoklch(51.33% 0.147 139.8)
XYZxyz(8.3759, 14.6258, 3.4184)
Luminance0.1463 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307A1B #651B7A
analogous
#607A1B #307A1B #1B7A36
triadic
#307A1B #1B307A #7A1B30
tetradic
#307A1B #1B607A #651B7A #7A361B
square
#307A1B #1B607A #651B7A #7A361B
split-complementary
#307A1B #361B7A #7A1B60
monochromatic
#0A1906 #1C4810 #307A1B #44AC26 #5DD43C

Accessibility & contrast

On white

5.35
#307A1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#307A1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307A1B
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307A1B#FFFFFF#000000##FFFFFF
##307A1B1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F07
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#277668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #307a1b;
/* rgb */ color: rgb(48, 122, 27);
/* oklch */ color: oklch(51.3% 0.147 139.8);
Tailwind
colors: {
  custom: {
    50: '#72a15f',
    500: '#307a1b',
    950: '#000000',
  },
}
SCSS
$custom: #307a1b;
$custom-light: #72a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#307a1b",
  "rgb": {
    "r": 48,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 106.737,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51334,
    "c": 0.14721,
    "h": 139.8
  },
  "luminance": 0.14627
}

Semantic roles & 50–950 ramp

primary
#307A1B
secondary
#9643AE
accent
#41E7C2
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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