#307A28#307A28

#307A28 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.5% C 0.138 H 141.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#307A28
RGBrgb(48, 122, 40)
HSLhsl(114, 51%, 32%)
HSVhsv(114, 67%, 48%)
CMYKcmyk(60.7%, 0%, 67.2%, 52.2%)
CIE-LABlab(45.22, -39.75, 36.96)
CIE-LCHlch(45.22, 54.28, 137.09°)
OKLaboklab(51.45% -0.1084 0.0856)
OKLCHoklch(51.45% 0.138 141.7)
XYZxyz(8.5610, 14.6999, 4.3933)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307A28 #72287A
analogous
#597A28 #307A28 #287A49
triadic
#307A28 #28307A #7A2830
tetradic
#307A28 #28597A #72287A #7A4928
square
#307A28 #28597A #72287A #7A4928
split-complementary
#307A28 #49287A #7A2859
monochromatic
#0C1E0A #1E4C19 #307A28 #42A837 #60C755

Accessibility & contrast

On white

5.33
#307A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#307A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307A28
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307A28#FFFFFF#000000##FFFFFF
##307A281.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1E
Deuteranopia (green-blind)
#74692F
Tritanopia (blue-blind)
#257669
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #307a28;
/* rgb */ color: rgb(48, 122, 40);
/* oklch */ color: oklch(51.5% 0.138 141.7);
Tailwind
colors: {
  custom: {
    50: '#71a166',
    500: '#307a28',
    950: '#000000',
  },
}
SCSS
$custom: #307a28;
$custom-light: #71a166;
$custom-dark: #000000;
JSON
{
  "hex": "#307a28",
  "rgb": {
    "r": 48,
    "g": 122,
    "b": 40
  },
  "hsl": {
    "h": 114.146,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51452,
    "c": 0.13815,
    "h": 141.7
  },
  "luminance": 0.14701
}

Semantic roles & 50–950 ramp

primary
#307A28
secondary
#A352AC
accent
#4EDACC
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307A28

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

Preview Lab → · Contrast checker → · Palette generator →

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