#30831A#30831A

#30831A is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.159 H 140.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#30831A
RGBrgb(48, 131, 26)
HSLhsl(107, 67%, 31%)
HSVhsv(107, 80%, 51%)
CMYKcmyk(63.4%, 0%, 80.2%, 48.6%)
CIE-LABlab(48.18, -44.41, 45.61)
CIE-LCHlch(48.18, 63.67, 134.24°)
OKLaboklab(53.86% -0.1219 0.1018)
OKLCHoklch(53.86% 0.159 140.1)
XYZxyz(9.5212, 16.9347, 3.7440)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30831A #6D1A83
analogous
#64831A #30831A #1A8339
triadic
#30831A #1A3083 #831A30
tetradic
#30831A #1A6483 #6D1A83 #83391A
square
#30831A #1A6483 #6D1A83 #83391A
split-complementary
#30831A #391A83 #831A64
monochromatic
#0B1D06 #1D5010 #30831A #43B624 #5FD93F

Accessibility & contrast

On white

4.79
#30831A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #30831A
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30831A#FFFFFF#000000##FFFFFF
##30831A1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#247F6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #30831a;
/* rgb */ color: rgb(48, 131, 26);
/* oklch */ color: oklch(53.9% 0.159 140.1);
Tailwind
colors: {
  custom: {
    50: '#74a860',
    500: '#30831a',
    950: '#000000',
  },
}
SCSS
$custom: #30831a;
$custom-light: #74a860;
$custom-dark: #000000;
JSON
{
  "hex": "#30831a",
  "rgb": {
    "r": 48,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 107.429,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53862,
    "c": 0.15881,
    "h": 140.1
  },
  "luminance": 0.16936
}

Semantic roles & 50–950 ramp

primary
#30831A
secondary
#9E42B7
accent
#3EEAC6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #30831A

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

Preview Lab → · Contrast checker → · Palette generator →

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