#308118#308118

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

Color values

HEX#308118
RGBrgb(48, 129, 24)
HSLhsl(106, 69%, 30%)
HSVhsv(106, 81%, 51%)
CMYKcmyk(62.8%, 0%, 81.4%, 49.4%)
CIE-LABlab(47.49, -43.80, 45.62)
CIE-LCHlch(47.49, 63.24, 133.84°)
OKLaboklab(53.29% -0.1203 0.1015)
OKLCHoklch(53.29% 0.157 139.8)
XYZxyz(9.2336, 16.3940, 3.5417)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308118 #691881
analogous
#648118 #308118 #188135
triadic
#308118 #183081 #811830
tetradic
#308118 #186481 #691881 #813518
square
#308118 #186481 #691881 #813518
split-complementary
#308118 #351881 #811864
monochromatic
#0A1A05 #1D4D0E #308118 #43B522 #5EDA39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308118#FFFFFF#000000##FFFFFF
##3081181.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)
#257D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #308118;
/* rgb */ color: rgb(48, 129, 24);
/* oklch */ color: oklch(53.3% 0.157 139.8);
Tailwind
colors: {
  custom: {
    50: '#73a65e',
    500: '#308118',
    950: '#000000',
  },
}
SCSS
$custom: #308118;
$custom-light: #73a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#308118",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 106.286,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.53288,
    "c": 0.15744,
    "h": 139.8
  },
  "luminance": 0.16395
}

Semantic roles & 50–950 ramp

primary
#308118
secondary
#9A40B5
accent
#3CEBC3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #308118

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

Preview Lab → · Contrast checker → · Palette generator →

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