#30831F#30831F

#30831F is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.156 H 140.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#30831F
RGBrgb(48, 131, 31)
HSLhsl(110, 62%, 32%)
HSVhsv(110, 76%, 51%)
CMYKcmyk(63.4%, 0%, 76.3%, 48.6%)
CIE-LABlab(48.21, -44.05, 43.86)
CIE-LCHlch(48.21, 62.17, 135.12°)
OKLaboklab(53.9% -0.1206 0.0989)
OKLCHoklch(53.9% 0.156 140.7)
XYZxyz(9.5821, 16.9590, 4.0645)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30831F #721F83
analogous
#62831F #30831F #1F8340
triadic
#30831F #1F3083 #831F30
tetradic
#30831F #1F6283 #721F83 #83401F
square
#30831F #1F6283 #721F83 #83401F
split-complementary
#30831F #401F83 #831F62
monochromatic
#0C2008 #1E5213 #30831F #42B42B #60D449

Accessibility & contrast

On white

4.78
#30831F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#30831F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30831F
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30831F#FFFFFF#000000##FFFFFF
##30831F1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770B
Deuteranopia (green-blind)
#7C702A
Tritanopia (blue-blind)
#247F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #30831f;
/* rgb */ color: rgb(48, 131, 31);
/* oklch */ color: oklch(53.9% 0.156 140.7);
Tailwind
colors: {
  custom: {
    50: '#73a862',
    500: '#30831f',
    950: '#000000',
  },
}
SCSS
$custom: #30831f;
$custom-light: #73a862;
$custom-dark: #000000;
JSON
{
  "hex": "#30831f",
  "rgb": {
    "r": 48,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 109.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53898,
    "c": 0.15598,
    "h": 140.7
  },
  "luminance": 0.1696
}

Semantic roles & 50–950 ramp

primary
#30831F
secondary
#A348B6
accent
#43E5C9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #30831F

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

Preview Lab → · Contrast checker → · Palette generator →

#30831F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva