#307D22#307D22

#307D22 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.147 H 140.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#307D22
RGBrgb(48, 125, 34)
HSLhsl(111, 57%, 31%)
HSVhsv(111, 73%, 49%)
CMYKcmyk(61.6%, 0%, 72.8%, 51%)
CIE-LABlab(46.19, -41.52, 40.62)
CIE-LCHlch(46.19, 58.09, 135.63°)
OKLaboklab(52.24% -0.1136 0.0925)
OKLCHoklch(52.24% 0.147 140.8)
XYZxyz(8.8408, 15.4103, 4.0217)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307D22 #6F227D
analogous
#5D7D22 #307D22 #227D41
triadic
#307D22 #22307D #7D2230
tetradic
#307D22 #225D7D #6F227D #7D4122
square
#307D22 #225D7D #6F227D #7D4122
split-complementary
#307D22 #41227D #7D225D
monochromatic
#0B1D08 #1E4D15 #307D22 #42AD2F #5FCE4B

Accessibility & contrast

On white

5.14
#307D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#307D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307D22
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307D22#FFFFFF#000000##FFFFFF
##307D221.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#25796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307d22;
/* rgb */ color: rgb(48, 125, 34);
/* oklch */ color: oklch(52.2% 0.147 140.8);
Tailwind
colors: {
  custom: {
    50: '#72a363',
    500: '#307d22',
    950: '#000000',
  },
}
SCSS
$custom: #307d22;
$custom-light: #72a363;
$custom-dark: #000000;
JSON
{
  "hex": "#307d22",
  "rgb": {
    "r": 48,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 110.769,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52237,
    "c": 0.14652,
    "h": 140.8
  },
  "luminance": 0.15411
}

Semantic roles & 50–950 ramp

primary
#307D22
secondary
#A04BB0
accent
#47E0C9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #307D22

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

Preview Lab → · Contrast checker → · Palette generator →

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