#307A2C#307A2C

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

Color values

HEX#307A2C
RGBrgb(48, 122, 44)
HSLhsl(117, 47%, 33%)
HSVhsv(117, 64%, 48%)
CMYKcmyk(60.7%, 0%, 63.9%, 52.2%)
CIE-LABlab(45.26, -39.30, 35.11)
CIE-LCHlch(45.26, 52.70, 138.22°)
OKLaboklab(51.5% -0.107 0.0821)
OKLCHoklch(51.5% 0.135 142.5)
XYZxyz(8.6326, 14.7285, 4.7704)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307A2C #762C7A
analogous
#577A2C #307A2C #2C7A4F
triadic
#307A2C #2C307A #7A2C30
tetradic
#307A2C #2C577A #762C7A #7A4F2C
square
#307A2C #2C577A #762C7A #7A4F2C
split-complementary
#307A2C #4F2C7A #7A2C57
monochromatic
#0D200C #1E4D1C #307A2C #42A73C #61C45C

Accessibility & contrast

On white

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

On black

3.95
#307A2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##307A2C#FFFFFF#000000##FFFFFF
##307A2C1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #307a2c;
/* rgb */ color: rgb(48, 122, 44);
/* oklch */ color: oklch(51.5% 0.135 142.5);
Tailwind
colors: {
  custom: {
    50: '#71a168',
    500: '#307a2c',
    950: '#000000',
  },
}
SCSS
$custom: #307a2c;
$custom-light: #71a168;
$custom-dark: #000000;
JSON
{
  "hex": "#307a2c",
  "rgb": {
    "r": 48,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 116.923,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51498,
    "c": 0.13486,
    "h": 142.5
  },
  "luminance": 0.14729
}

Semantic roles & 50–950 ramp

primary
#307A2C
secondary
#A657AA
accent
#51D7D0
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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