#308327#308327

#308327 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.151 H 141.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#308327
RGBrgb(48, 131, 39)
HSLhsl(114, 54%, 33%)
HSVhsv(114, 70%, 51%)
CMYKcmyk(63.4%, 0%, 70.2%, 48.6%)
CIE-LABlab(48.27, -43.35, 40.70)
CIE-LCHlch(48.27, 59.46, 136.81°)
OKLaboklab(53.97% -0.1183 0.0934)
OKLCHoklch(53.97% 0.151 141.7)
XYZxyz(9.7009, 17.0065, 4.6904)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308327 #7A2783
analogous
#5E8327 #308327 #27834C
triadic
#308327 #273083 #832730
tetradic
#308327 #275E83 #7A2783 #834C27
square
#308327 #275E83 #7A2783 #834C27
split-complementary
#308327 #4C2783 #83275E
monochromatic
#0D250B #1F5419 #308327 #41B235 #63CD57

Accessibility & contrast

On white

4.77
#308327 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#308327 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308327
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308327#FFFFFF#000000##FFFFFF
##3083271.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86771A
Deuteranopia (green-blind)
#7C7030
Tritanopia (blue-blind)
#227F70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #308327;
/* rgb */ color: rgb(48, 131, 39);
/* oklch */ color: oklch(54.0% 0.151 141.7);
Tailwind
colors: {
  custom: {
    50: '#73a866',
    500: '#308327',
    950: '#000000',
  },
}
SCSS
$custom: #308327;
$custom-light: #73a866;
$custom-dark: #000000;
JSON
{
  "hex": "#308327",
  "rgb": {
    "r": 48,
    "g": 131,
    "b": 39
  },
  "hsl": {
    "h": 114.13,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53966,
    "c": 0.15066,
    "h": 141.7
  },
  "luminance": 0.17007
}

Semantic roles & 50–950 ramp

primary
#308327
secondary
#A954B2
accent
#4ADDCF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308327

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

Preview Lab → · Contrast checker → · Palette generator →

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