#307226#307226

#307226 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.2% C 0.129 H 141.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#307226
RGBrgb(48, 114, 38)
HSLhsl(112, 50%, 30%)
HSVhsv(112, 67%, 45%)
CMYKcmyk(57.9%, 0%, 66.7%, 55.3%)
CIE-LABlab(42.46, -36.73, 34.85)
CIE-LCHlch(42.46, 50.63, 136.50°)
OKLaboklab(49.17% -0.1004 0.0809)
OKLCHoklch(49.17% 0.129 141.1)
XYZxyz(7.5857, 12.8023, 3.9047)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307226 #682672
analogous
#567226 #307226 #267242
triadic
#307226 #263072 #722630
tetradic
#307226 #265672 #682672 #724226
square
#307226 #265672 #682672 #724226
split-complementary
#307226 #422672 #722656
monochromatic
#0A1708 #1D4417 #307226 #43A035 #5EC44E

Accessibility & contrast

On white

5.90
#307226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#307226 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307226
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307226#FFFFFF#000000##FFFFFF
##3072261.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75681D
Deuteranopia (green-blind)
#6C622C
Tritanopia (blue-blind)
#276E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #307226;
/* rgb */ color: rgb(48, 114, 38);
/* oklch */ color: oklch(49.2% 0.129 141.1);
Tailwind
colors: {
  custom: {
    50: '#709b64',
    500: '#307226',
    950: '#000000',
  },
}
SCSS
$custom: #307226;
$custom-light: #709b64;
$custom-dark: #000000;
JSON
{
  "hex": "#307226",
  "rgb": {
    "r": 48,
    "g": 114,
    "b": 38
  },
  "hsl": {
    "h": 112.105,
    "s": 50,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49173,
    "c": 0.1289,
    "h": 141.1
  },
  "luminance": 0.12803
}

Semantic roles & 50–950 ramp

primary
#307226
secondary
#994FA5
accent
#4EDAC7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #307226

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

Preview Lab → · Contrast checker → · Palette generator →

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