#307822#307822

#307822 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.140 H 140.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#307822
RGBrgb(48, 120, 34)
HSLhsl(110, 56%, 30%)
HSVhsv(110, 72%, 47%)
CMYKcmyk(60%, 0%, 71.7%, 52.9%)
CIE-LABlab(44.48, -39.56, 38.83)
CIE-LCHlch(44.48, 55.44, 135.53°)
OKLaboklab(50.83% -0.1083 0.0888)
OKLCHoklch(50.83% 0.14 140.7)
XYZxyz(8.2237, 14.1761, 3.8160)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307822 #6A2278
analogous
#5B7822 #307822 #22783F
triadic
#307822 #223078 #782230
tetradic
#307822 #225B78 #6A2278 #783F22
square
#307822 #225B78 #6A2278 #783F22
split-complementary
#307822 #3F2278 #78225B
monochromatic
#0A1907 #1D4814 #307822 #43A830 #5ECB49

Accessibility & contrast

On white

5.48
#307822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#307822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307822
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307822#FFFFFF#000000##FFFFFF
##3078221.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D15
Deuteranopia (green-blind)
#72672A
Tritanopia (blue-blind)
#277467
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #307822;
/* rgb */ color: rgb(48, 120, 34);
/* oklch */ color: oklch(50.8% 0.140 140.7);
Tailwind
colors: {
  custom: {
    50: '#71a062',
    500: '#307822',
    950: '#000000',
  },
}
SCSS
$custom: #307822;
$custom-light: #71a062;
$custom-dark: #000000;
JSON
{
  "hex": "#307822",
  "rgb": {
    "r": 48,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 110.233,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50828,
    "c": 0.14005,
    "h": 140.7
  },
  "luminance": 0.14177
}

Semantic roles & 50–950 ramp

primary
#307822
secondary
#9B4BAB
accent
#49DFC7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F05
muted
#7B7E7A

Preview Lab

Preview with #307822

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

Preview Lab → · Contrast checker → · Palette generator →

#307822 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva