#30831C#30831C

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

Color values

HEX#30831C
RGBrgb(48, 131, 28)
HSLhsl(108, 65%, 31%)
HSVhsv(108, 79%, 51%)
CMYKcmyk(63.4%, 0%, 78.6%, 48.6%)
CIE-LABlab(48.19, -44.28, 44.94)
CIE-LCHlch(48.19, 63.08, 134.58°)
OKLaboklab(53.88% -0.1214 0.1007)
OKLCHoklch(53.88% 0.158 140.3)
XYZxyz(9.5444, 16.9439, 3.8659)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30831C #6F1C83
analogous
#63831C #30831C #1C833B
triadic
#30831C #1C3083 #831C30
tetradic
#30831C #1C6383 #6F1C83 #833B1C
square
#30831C #1C6383 #6F1C83 #833B1C
split-complementary
#30831C #3B1C83 #831C63
monochromatic
#0B1E06 #1E5111 #30831C #42B527 #5FD743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30831C#FFFFFF#000000##FFFFFF
##30831C1.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)
#877704
Deuteranopia (green-blind)
#7D7027
Tritanopia (blue-blind)
#247F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #30831c;
/* rgb */ color: rgb(48, 131, 28);
/* oklch */ color: oklch(53.9% 0.158 140.3);
Tailwind
colors: {
  custom: {
    50: '#74a860',
    500: '#30831c',
    950: '#000000',
  },
}
SCSS
$custom: #30831c;
$custom-light: #74a860;
$custom-dark: #000000;
JSON
{
  "hex": "#30831c",
  "rgb": {
    "r": 48,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 108.35,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53876,
    "c": 0.15772,
    "h": 140.3
  },
  "luminance": 0.16945
}

Semantic roles & 50–950 ramp

primary
#30831C
secondary
#A045B6
accent
#40E8C7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #30831C

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

Preview Lab → · Contrast checker → · Palette generator →

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