#308011#308011

#308011 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.159 H 139.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#308011
RGBrgb(48, 128, 17)
HSLhsl(103, 77%, 28%)
HSVhsv(103, 87%, 50%)
CMYKcmyk(62.5%, 0%, 86.7%, 49.8%)
CIE-LABlab(47.11, -43.82, 47.34)
CIE-LCHlch(47.11, 64.50, 132.79°)
OKLaboklab(52.97% -0.1207 0.1041)
OKLCHoklch(52.97% 0.159 139.2)
XYZxyz(9.0389, 16.1064, 3.1627)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308011 #611180
analogous
#678011 #308011 #118029
triadic
#308011 #113080 #801130
tetradic
#308011 #116780 #611180 #802911
square
#308011 #116780 #611180 #802911
split-complementary
#308011 #291180 #801167
monochromatic
#0A1B04 #1C4A0A #308011 #44B618 #5DE329

Accessibility & contrast

On white

4.97
#308011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#308011 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308011
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308011#FFFFFF#000000##FFFFFF
##3080111.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#267B6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #308011;
/* rgb */ color: rgb(48, 128, 17);
/* oklch */ color: oklch(53.0% 0.159 139.2);
Tailwind
colors: {
  custom: {
    50: '#73a65b',
    500: '#308011',
    950: '#000000',
  },
}
SCSS
$custom: #308011;
$custom-light: #73a65b;
$custom-dark: #000000;
JSON
{
  "hex": "#308011",
  "rgb": {
    "r": 48,
    "g": 128,
    "b": 17
  },
  "hsl": {
    "h": 103.243,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52968,
    "c": 0.15941,
    "h": 139.2
  },
  "luminance": 0.16107
}

Semantic roles & 50–950 ramp

primary
#308011
secondary
#9237B6
accent
#35F3BE
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #308011

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

Preview Lab → · Contrast checker → · Palette generator →

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