#307A2A#307A2A

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

Color values

HEX#307A2A
RGBrgb(48, 122, 42)
HSLhsl(116, 49%, 32%)
HSVhsv(116, 66%, 48%)
CMYKcmyk(60.7%, 0%, 65.6%, 52.2%)
CIE-LABlab(45.24, -39.53, 36.04)
CIE-LCHlch(45.24, 53.50, 137.64°)
OKLaboklab(51.47% -0.1077 0.0839)
OKLCHoklch(51.47% 0.137 142.1)
XYZxyz(8.5959, 14.7138, 4.5771)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307A2A #742A7A
analogous
#587A2A #307A2A #2A7A4C
triadic
#307A2A #2A307A #7A2A30
tetradic
#307A2A #2A587A #742A7A #7A4C2A
square
#307A2A #2A587A #742A7A #7A4C2A
split-complementary
#307A2A #4C2A7A #7A2A58
monochromatic
#0C1F0B #1E4C1A #307A2A #42A83A #61C659

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307A2A#FFFFFF#000000##FFFFFF
##307A2A1.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)
#7D6F21
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#247669
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #307a2a;
/* rgb */ color: rgb(48, 122, 42);
/* oklch */ color: oklch(51.5% 0.137 142.1);
Tailwind
colors: {
  custom: {
    50: '#71a167',
    500: '#307a2a',
    950: '#000000',
  },
}
SCSS
$custom: #307a2a;
$custom-light: #71a167;
$custom-dark: #000000;
JSON
{
  "hex": "#307a2a",
  "rgb": {
    "r": 48,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 115.5,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51474,
    "c": 0.13653,
    "h": 142.1
  },
  "luminance": 0.14715
}

Semantic roles & 50–950 ramp

primary
#307A2A
secondary
#A555AB
accent
#4FD8CE
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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