#307227#307227

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

Color values

HEX#307227
RGBrgb(48, 114, 39)
HSLhsl(113, 49%, 30%)
HSVhsv(113, 66%, 45%)
CMYKcmyk(57.9%, 0%, 65.8%, 55.3%)
CIE-LABlab(42.47, -36.61, 34.38)
CIE-LCHlch(42.47, 50.23, 136.80°)
OKLaboklab(49.19% -0.1 0.08)
OKLCHoklch(49.19% 0.128 141.3)
XYZxyz(7.6021, 12.8088, 3.9908)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307227 #692772
analogous
#567227 #307227 #277243
triadic
#307227 #273072 #722730
tetradic
#307227 #275672 #692772 #724327
square
#307227 #275672 #692772 #724327
split-complementary
#307227 #432772 #722756
monochromatic
#0A1708 #1D4417 #307227 #43A037 #5EC350

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307227#FFFFFF#000000##FFFFFF
##3072271.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)
#75681E
Deuteranopia (green-blind)
#6C622D
Tritanopia (blue-blind)
#276E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #307227;
/* rgb */ color: rgb(48, 114, 39);
/* oklch */ color: oklch(49.2% 0.128 141.3);
Tailwind
colors: {
  custom: {
    50: '#709b64',
    500: '#307227',
    950: '#000000',
  },
}
SCSS
$custom: #307227;
$custom-light: #709b64;
$custom-dark: #000000;
JSON
{
  "hex": "#307227",
  "rgb": {
    "r": 48,
    "g": 114,
    "b": 39
  },
  "hsl": {
    "h": 112.8,
    "s": 49.02,
    "l": 30
  },
  "oklch": {
    "l": 0.49185,
    "c": 0.12807,
    "h": 141.3
  },
  "luminance": 0.12809
}

Semantic roles & 50–950 ramp

primary
#307227
secondary
#9A50A4
accent
#4FD9C8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #307227

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

Preview Lab → · Contrast checker → · Palette generator →

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