#308227#308227

#308227 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.149 H 141.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#308227
RGBrgb(48, 130, 39)
HSLhsl(114, 54%, 33%)
HSVhsv(114, 70%, 51%)
CMYKcmyk(63.1%, 0%, 70%, 49%)
CIE-LABlab(47.93, -42.97, 40.34)
CIE-LCHlch(47.93, 58.94, 136.81°)
OKLaboklab(53.69% -0.1172 0.0926)
OKLCHoklch(53.69% 0.149 141.7)
XYZxyz(9.5673, 16.7392, 4.6459)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308227 #792782
analogous
#5D8227 #308227 #27824B
triadic
#308227 #273082 #822730
tetradic
#308227 #275D82 #792782 #824B27
square
#308227 #275D82 #792782 #824B27
split-complementary
#308227 #4B2782 #82275D
monochromatic
#0D240B #1F5319 #308227 #41B135 #62CD57

Accessibility & contrast

On white

4.83
#308227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#308227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308227
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308227#FFFFFF#000000##FFFFFF
##3082271.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761A
Deuteranopia (green-blind)
#7B6F2F
Tritanopia (blue-blind)
#227E70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #308227;
/* rgb */ color: rgb(48, 130, 39);
/* oklch */ color: oklch(53.7% 0.149 141.7);
Tailwind
colors: {
  custom: {
    50: '#73a766',
    500: '#308227',
    950: '#000000',
  },
}
SCSS
$custom: #308227;
$custom-light: #73a766;
$custom-dark: #000000;
JSON
{
  "hex": "#308227",
  "rgb": {
    "r": 48,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 114.066,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53687,
    "c": 0.14938,
    "h": 141.7
  },
  "luminance": 0.1674
}

Semantic roles & 50–950 ramp

primary
#308227
secondary
#A853B1
accent
#4BDDCF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #308227

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

Preview Lab → · Contrast checker → · Palette generator →

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