#308131#308131

#308131 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.140 H 143.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#308131
RGBrgb(48, 129, 49)
HSLhsl(121, 46%, 35%)
HSVhsv(121, 63%, 51%)
CMYKcmyk(62.8%, 0%, 62%, 49.4%)
CIE-LABlab(47.69, -41.48, 35.46)
CIE-LCHlch(47.69, 54.57, 139.47°)
OKLaboklab(53.52% -0.1126 0.0833)
OKLCHoklch(53.52% 0.14 143.5)
XYZxyz(9.6230, 16.5497, 5.5924)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308131 #813080
analogous
#578130 #308131 #30815A
triadic
#308131 #313081 #813130
tetradic
#308131 #305781 #813080 #815A30
square
#308131 #305781 #813080 #815A30
split-complementary
#308131 #5A3081 #813057
monochromatic
#0F280F #1F5420 #308131 #41AE42 #66C667

Accessibility & contrast

On white

4.87
#308131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#308131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308131
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308131#FFFFFF#000000##FFFFFF
##3081311.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847528
Deuteranopia (green-blind)
#796E37
Tritanopia (blue-blind)
#207D70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #308131;
/* rgb */ color: rgb(48, 129, 49);
/* oklch */ color: oklch(53.5% 0.140 143.5);
Tailwind
colors: {
  custom: {
    50: '#72a66c',
    500: '#308131',
    950: '#000000',
  },
}
SCSS
$custom: #308131;
$custom-light: #72a66c;
$custom-dark: #000000;
JSON
{
  "hex": "#308131",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 49
  },
  "hsl": {
    "h": 120.741,
    "s": 45.763,
    "l": 34.706
  },
  "oklch": {
    "l": 0.53518,
    "c": 0.14012,
    "h": 143.5
  },
  "luminance": 0.16551
}

Semantic roles & 50–950 ramp

primary
#308131
secondary
#AD60AC
accent
#52D4D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #308131

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

Preview Lab → · Contrast checker → · Palette generator →

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