#307E22#307E22

#307E22 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.148 H 140.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#307E22
RGBrgb(48, 126, 34)
HSLhsl(111, 58%, 31%)
HSVhsv(111, 73%, 49%)
CMYKcmyk(61.9%, 0%, 73%, 50.6%)
CIE-LABlab(46.53, -41.91, 40.97)
CIE-LCHlch(46.53, 58.61, 135.64°)
OKLaboklab(52.52% -0.1146 0.0933)
OKLCHoklch(52.52% 0.148 140.9)
XYZxyz(8.9681, 15.6648, 4.0641)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E22 #70227E
analogous
#5E7E22 #307E22 #227E42
triadic
#307E22 #22307E #7E2230
tetradic
#307E22 #225E7E #70227E #7E4222
square
#307E22 #225E7E #70227E #7E4222
split-complementary
#307E22 #42227E #7E225E
monochromatic
#0B1E08 #1E4E15 #307E22 #42AE2F #60CF4C

Accessibility & contrast

On white

5.08
#307E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#307E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307E22
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307E22#FFFFFF#000000##FFFFFF
##307E221.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817213
Deuteranopia (green-blind)
#786C2B
Tritanopia (blue-blind)
#257A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307e22;
/* rgb */ color: rgb(48, 126, 34);
/* oklch */ color: oklch(52.5% 0.148 140.9);
Tailwind
colors: {
  custom: {
    50: '#72a463',
    500: '#307e22',
    950: '#000000',
  },
}
SCSS
$custom: #307e22;
$custom-light: #72a463;
$custom-dark: #000000;
JSON
{
  "hex": "#307e22",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 110.87,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52518,
    "c": 0.14779,
    "h": 140.9
  },
  "luminance": 0.15666
}

Semantic roles & 50–950 ramp

primary
#307E22
secondary
#A14BB1
accent
#47E1C9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #307E22

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

Preview Lab → · Contrast checker → · Palette generator →

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