#30831D#30831D

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

Color values

HEX#30831D
RGBrgb(48, 131, 29)
HSLhsl(109, 64%, 31%)
HSVhsv(109, 78%, 51%)
CMYKcmyk(63.4%, 0%, 77.9%, 48.6%)
CIE-LABlab(48.20, -44.20, 44.59)
CIE-LCHlch(48.20, 62.78, 134.75°)
OKLaboklab(53.88% -0.1211 0.1001)
OKLCHoklch(53.88% 0.157 140.4)
XYZxyz(9.5565, 16.9488, 3.9300)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30831D #701D83
analogous
#63831D #30831D #1D833D
triadic
#30831D #1D3083 #831D30
tetradic
#30831D #1D6383 #701D83 #833D1D
square
#30831D #1D6383 #701D83 #833D1D
split-complementary
#30831D #3D1D83 #831D63
monochromatic
#0B1F07 #1E5112 #30831D #42B528 #60D645

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30831D#FFFFFF#000000##FFFFFF
##30831D1.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)
#877706
Deuteranopia (green-blind)
#7D7028
Tritanopia (blue-blind)
#247F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #30831d;
/* rgb */ color: rgb(48, 131, 29);
/* oklch */ color: oklch(53.9% 0.157 140.4);
Tailwind
colors: {
  custom: {
    50: '#74a861',
    500: '#30831d',
    950: '#000000',
  },
}
SCSS
$custom: #30831d;
$custom-light: #74a861;
$custom-dark: #000000;
JSON
{
  "hex": "#30831d",
  "rgb": {
    "r": 48,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 108.824,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53883,
    "c": 0.15716,
    "h": 140.4
  },
  "luminance": 0.1695
}

Semantic roles & 50–950 ramp

primary
#30831D
secondary
#A146B6
accent
#41E7C8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #30831D

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

Preview Lab → · Contrast checker → · Palette generator →

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