#30881F#30881F

#30881F is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.162 H 140.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#30881F
RGBrgb(48, 136, 31)
HSLhsl(110, 63%, 33%)
HSVhsv(110, 77%, 53%)
CMYKcmyk(64.7%, 0%, 77.2%, 46.7%)
CIE-LABlab(49.90, -45.90, 45.54)
CIE-LCHlch(49.90, 64.66, 135.22°)
OKLaboklab(55.3% -0.1256 0.1024)
OKLCHoklch(55.3% 0.162 140.8)
XYZxyz(10.2699, 18.3346, 4.2938)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30881F #771F88
analogous
#64881F #30881F #1F8843
triadic
#30881F #1F3088 #881F30
tetradic
#30881F #1F6488 #771F88 #88431F
square
#30881F #1F6488 #771F88 #88431F
split-complementary
#30881F #431F88 #881F64
monochromatic
#0D2408 #1E5614 #30881F #42BA2A #62D64B

Accessibility & contrast

On white

4.50
#30881F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#30881F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30881F
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30881F#FFFFFF#000000##000000
##30881F1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B08
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#228474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #30881f;
/* rgb */ color: rgb(48, 136, 31);
/* oklch */ color: oklch(55.3% 0.162 140.8);
Tailwind
colors: {
  custom: {
    50: '#74ac63',
    500: '#30881f',
    950: '#000000',
  },
}
SCSS
$custom: #30881f;
$custom-light: #74ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#30881f",
  "rgb": {
    "r": 48,
    "g": 136,
    "b": 31
  },
  "hsl": {
    "h": 110.286,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55297,
    "c": 0.16206,
    "h": 140.8
  },
  "luminance": 0.18336
}

Semantic roles & 50–950 ramp

primary
#30881F
secondary
#A74AB9
accent
#42E6CB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #30881F

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

Preview Lab → · Contrast checker → · Palette generator →

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