#307B22#307B22

#307B22 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.144 H 140.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#307B22
RGBrgb(48, 123, 34)
HSLhsl(111, 57%, 31%)
HSVhsv(111, 72%, 48%)
CMYKcmyk(61%, 0%, 72.4%, 51.8%)
CIE-LABlab(45.51, -40.74, 39.91)
CIE-LCHlch(45.51, 57.03, 135.59°)
OKLaboklab(51.67% -0.1115 0.091)
OKLCHoklch(51.67% 0.144 140.8)
XYZxyz(8.5902, 14.9090, 3.9381)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B22 #6D227B
analogous
#5C7B22 #307B22 #227B40
triadic
#307B22 #22307B #7B2230
tetradic
#307B22 #225C7B #6D227B #7B4022
square
#307B22 #225C7B #6D227B #7B4022
split-complementary
#307B22 #40227B #7B225C
monochromatic
#0B1B07 #1D4B15 #307B22 #43AB2F #5FCD4A

Accessibility & contrast

On white

5.27
#307B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#307B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307B22
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307B22#FFFFFF#000000##FFFFFF
##307B221.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7014
Deuteranopia (green-blind)
#75692B
Tritanopia (blue-blind)
#267769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307b22;
/* rgb */ color: rgb(48, 123, 34);
/* oklch */ color: oklch(51.7% 0.144 140.8);
Tailwind
colors: {
  custom: {
    50: '#72a262',
    500: '#307b22',
    950: '#000000',
  },
}
SCSS
$custom: #307b22;
$custom-light: #72a262;
$custom-dark: #000000;
JSON
{
  "hex": "#307b22",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 110.562,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51674,
    "c": 0.14395,
    "h": 140.8
  },
  "luminance": 0.1491
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #307B22

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

Preview Lab → · Contrast checker → · Palette generator →

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