#308117#308117

#308117 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.158 H 139.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#308117
RGBrgb(48, 129, 23)
HSLhsl(106, 70%, 30%)
HSVhsv(106, 82%, 51%)
CMYKcmyk(62.8%, 0%, 82.2%, 49.4%)
CIE-LABlab(47.48, -43.86, 45.93)
CIE-LCHlch(47.48, 63.51, 133.68°)
OKLaboklab(53.28% -0.1206 0.102)
OKLCHoklch(53.28% 0.158 139.8)
XYZxyz(9.2234, 16.3899, 3.4880)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308117 #681781
analogous
#658117 #308117 #178133
triadic
#308117 #173081 #811730
tetradic
#308117 #176581 #681781 #813317
square
#308117 #176581 #681781 #813317
split-complementary
#308117 #331781 #811765
monochromatic
#0A1A05 #1D4D0E #308117 #43B520 #5EDB37

Accessibility & contrast

On white

4.91
#308117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#308117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308117
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308117#FFFFFF#000000##FFFFFF
##3081171.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7B6E24
Tritanopia (blue-blind)
#257C6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #308117;
/* rgb */ color: rgb(48, 129, 23);
/* oklch */ color: oklch(53.3% 0.158 139.8);
Tailwind
colors: {
  custom: {
    50: '#73a65e',
    500: '#308117',
    950: '#000000',
  },
}
SCSS
$custom: #308117;
$custom-light: #73a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#308117",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 105.849,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53282,
    "c": 0.15794,
    "h": 139.8
  },
  "luminance": 0.16391
}

Semantic roles & 50–950 ramp

primary
#308117
secondary
#993EB5
accent
#3BEDC3
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #308117

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

Preview Lab → · Contrast checker → · Palette generator →

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