#30862F#30862F

#30862F is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.148 H 143.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#30862F
RGBrgb(48, 134, 47)
HSLhsl(119, 48%, 35%)
HSVhsv(119, 65%, 53%)
CMYKcmyk(64.2%, 0%, 64.9%, 47.5%)
CIE-LABlab(49.35, -43.65, 38.30)
CIE-LCHlch(49.35, 58.07, 138.74°)
OKLaboklab(54.89% -0.1186 0.0892)
OKLCHoklch(54.89% 0.148 143.1)
XYZxyz(10.2565, 17.8828, 5.6000)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30862F #852F86
analogous
#5B862F #30862F #2F8659
triadic
#30862F #2F3086 #862F30
tetradic
#30862F #2F5B86 #852F86 #86592F
square
#30862F #2F5B86 #852F86 #86592F
split-complementary
#30862F #592F86 #862F5B
monochromatic
#102B0F #20591F #30862F #40B33F #67C966

Accessibility & contrast

On white

4.59
#30862F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#30862F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #30862F
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30862F#FFFFFF#000000##FFFFFF
##30862F1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A25
Deuteranopia (green-blind)
#7E7336
Tritanopia (blue-blind)
#1F8274
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #30862f;
/* rgb */ color: rgb(48, 134, 47);
/* oklch */ color: oklch(54.9% 0.148 143.1);
Tailwind
colors: {
  custom: {
    50: '#73aa6b',
    500: '#30862f',
    950: '#000000',
  },
}
SCSS
$custom: #30862f;
$custom-light: #73aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#30862f",
  "rgb": {
    "r": 48,
    "g": 134,
    "b": 47
  },
  "hsl": {
    "h": 119.31,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54887,
    "c": 0.14843,
    "h": 143.1
  },
  "luminance": 0.17884
}

Semantic roles & 50–950 ramp

primary
#30862F
secondary
#AF60B0
accent
#50D8D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #30862F

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

Preview Lab → · Contrast checker → · Palette generator →

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