#308127#308127

#308127 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.148 H 141.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#308127
RGBrgb(48, 129, 39)
HSLhsl(114, 54%, 33%)
HSVhsv(114, 70%, 51%)
CMYKcmyk(62.8%, 0%, 69.8%, 49.4%)
CIE-LABlab(47.59, -42.59, 39.97)
CIE-LCHlch(47.59, 58.41, 136.81°)
OKLaboklab(53.41% -0.1162 0.0918)
OKLCHoklch(53.41% 0.148 141.7)
XYZxyz(9.4349, 16.4745, 4.6018)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308127 #782781
analogous
#5D8127 #308127 #27814B
triadic
#308127 #273081 #812730
tetradic
#308127 #275D81 #782781 #814B27
square
#308127 #275D81 #782781 #814B27
split-complementary
#308127 #4B2781 #81275D
monochromatic
#0D230B #1F5219 #308127 #41B035 #62CC56

Accessibility & contrast

On white

4.89
#308127 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#308127 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308127
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308127#FFFFFF#000000##FFFFFF
##3081271.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751B
Deuteranopia (green-blind)
#7A6E2F
Tritanopia (blue-blind)
#237D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #308127;
/* rgb */ color: rgb(48, 129, 39);
/* oklch */ color: oklch(53.4% 0.148 141.7);
Tailwind
colors: {
  custom: {
    50: '#73a666',
    500: '#308127',
    950: '#000000',
  },
}
SCSS
$custom: #308127;
$custom-light: #73a666;
$custom-dark: #000000;
JSON
{
  "hex": "#308127",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 114,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53407,
    "c": 0.1481,
    "h": 141.7
  },
  "luminance": 0.16475
}

Semantic roles & 50–950 ramp

primary
#308127
secondary
#A753B1
accent
#4BDDCE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #308127

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

Preview Lab → · Contrast checker → · Palette generator →

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