#307A2B#307A2B

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

Color values

HEX#307A2B
RGBrgb(48, 122, 43)
HSLhsl(116, 48%, 32%)
HSVhsv(116, 65%, 48%)
CMYKcmyk(60.7%, 0%, 64.8%, 52.2%)
CIE-LABlab(45.25, -39.42, 35.58)
CIE-LCHlch(45.25, 53.10, 137.93°)
OKLaboklab(51.49% -0.1074 0.083)
OKLCHoklch(51.49% 0.136 142.3)
XYZxyz(8.6141, 14.7211, 4.6725)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307A2B #752B7A
analogous
#577A2B #307A2B #2B7A4E
triadic
#307A2B #2B307A #7A2B30
tetradic
#307A2B #2B577A #752B7A #7A4E2B
square
#307A2B #2B577A #752B7A #7A4E2B
split-complementary
#307A2B #4E2B7A #7A2B57
monochromatic
#0C1F0B #1E4D1B #307A2B #42A73B #61C55A

Accessibility & contrast

On white

5.32
#307A2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #307A2B
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307A2B#FFFFFF#000000##FFFFFF
##307A2B1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F22
Deuteranopia (green-blind)
#736932
Tritanopia (blue-blind)
#247669
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #307a2b;
/* rgb */ color: rgb(48, 122, 43);
/* oklch */ color: oklch(51.5% 0.136 142.3);
Tailwind
colors: {
  custom: {
    50: '#71a168',
    500: '#307a2b',
    950: '#000000',
  },
}
SCSS
$custom: #307a2b;
$custom-light: #71a168;
$custom-dark: #000000;
JSON
{
  "hex": "#307a2b",
  "rgb": {
    "r": 48,
    "g": 122,
    "b": 43
  },
  "hsl": {
    "h": 116.203,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51486,
    "c": 0.1357,
    "h": 142.3
  },
  "luminance": 0.14722
}

Semantic roles & 50–950 ramp

primary
#307A2B
secondary
#A556AB
accent
#50D7CF
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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