#308427#308427

#308427 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.152 H 141.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#308427
RGBrgb(48, 132, 39)
HSLhsl(114, 54%, 34%)
HSVhsv(114, 70%, 52%)
CMYKcmyk(63.6%, 0%, 70.5%, 48.2%)
CIE-LABlab(48.61, -43.73, 41.06)
CIE-LCHlch(48.61, 59.98, 136.81°)
OKLaboklab(54.25% -0.1193 0.0941)
OKLCHoklch(54.25% 0.152 141.7)
XYZxyz(9.8359, 17.2765, 4.7354)
Luminance0.1728 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308427 #7B2784
analogous
#5E8427 #308427 #27844C
triadic
#308427 #273084 #842730
tetradic
#308427 #275E84 #7B2784 #844C27
square
#308427 #275E84 #7B2784 #844C27
split-complementary
#308427 #4C2784 #84275E
monochromatic
#0E260B #1F5519 #308427 #41B335 #63CE58

Accessibility & contrast

On white

4.71
#308427 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#308427 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308427
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308427#FFFFFF#000000##FFFFFF
##3084271.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87781A
Deuteranopia (green-blind)
#7D7130
Tritanopia (blue-blind)
#228071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #308427;
/* rgb */ color: rgb(48, 132, 39);
/* oklch */ color: oklch(54.2% 0.152 141.7);
Tailwind
colors: {
  custom: {
    50: '#73a966',
    500: '#308427',
    950: '#000000',
  },
}
SCSS
$custom: #308427;
$custom-light: #73a966;
$custom-dark: #000000;
JSON
{
  "hex": "#308427",
  "rgb": {
    "r": 48,
    "g": 132,
    "b": 39
  },
  "hsl": {
    "h": 114.194,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54246,
    "c": 0.15194,
    "h": 141.7
  },
  "luminance": 0.17277
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #308427

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

Preview Lab → · Contrast checker → · Palette generator →

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