#307A22#307A22

#307A22 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.143 H 140.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#307A22
RGBrgb(48, 122, 34)
HSLhsl(110, 56%, 31%)
HSVhsv(110, 72%, 48%)
CMYKcmyk(60.7%, 0%, 72.1%, 52.2%)
CIE-LABlab(45.17, -40.35, 39.55)
CIE-LCHlch(45.17, 56.50, 135.57°)
OKLaboklab(51.39% -0.1104 0.0903)
OKLCHoklch(51.39% 0.143 140.7)
XYZxyz(8.4668, 14.6622, 3.8970)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307A22 #6C227A
analogous
#5C7A22 #307A22 #227A40
triadic
#307A22 #22307A #7A2230
tetradic
#307A22 #225C7A #6C227A #7A4022
square
#307A22 #225C7A #6C227A #7A4022
split-complementary
#307A22 #40227A #7A225C
monochromatic
#0A1A07 #1D4A15 #307A22 #43AA2F #5FCD4A

Accessibility & contrast

On white

5.34
#307A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #307A22
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307A22#FFFFFF#000000##FFFFFF
##307A221.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F15
Deuteranopia (green-blind)
#74692A
Tritanopia (blue-blind)
#267668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #307a22;
/* rgb */ color: rgb(48, 122, 34);
/* oklch */ color: oklch(51.4% 0.143 140.7);
Tailwind
colors: {
  custom: {
    50: '#71a162',
    500: '#307a22',
    950: '#000000',
  },
}
SCSS
$custom: #307a22;
$custom-light: #71a162;
$custom-dark: #000000;
JSON
{
  "hex": "#307a22",
  "rgb": {
    "r": 48,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 110.455,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51392,
    "c": 0.14265,
    "h": 140.7
  },
  "luminance": 0.14663
}

Semantic roles & 50–950 ramp

primary
#307A22
secondary
#9D4BAD
accent
#48E0C8
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #307A22

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

Preview Lab → · Contrast checker → · Palette generator →

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