#30862D#30862D

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

Color values

HEX#30862D
RGBrgb(48, 134, 45)
HSLhsl(118, 50%, 35%)
HSVhsv(118, 66%, 53%)
CMYKcmyk(64.2%, 0%, 66.4%, 47.5%)
CIE-LABlab(49.33, -43.88, 39.20)
CIE-LCHlch(49.33, 58.84, 138.22°)
OKLaboklab(54.86% -0.1193 0.0909)
OKLCHoklch(54.86% 0.15 142.7)
XYZxyz(10.2171, 17.8670, 5.3924)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30862D #832D86
analogous
#5C862D #30862D #2D8657
triadic
#30862D #2D3086 #862D30
tetradic
#30862D #2D5C86 #832D86 #86572D
square
#30862D #2D5C86 #832D86 #86572D
split-complementary
#30862D #572D86 #862D5C
monochromatic
#0F2A0E #20581E #30862D #40B43C #66CB63

Accessibility & contrast

On white

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

On black

4.57
#30862D on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##30862D#FFFFFF#000000##FFFFFF
##30862D1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A22
Deuteranopia (green-blind)
#7E7235
Tritanopia (blue-blind)
#208273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #30862d;
/* rgb */ color: rgb(48, 134, 45);
/* oklch */ color: oklch(54.9% 0.150 142.7);
Tailwind
colors: {
  custom: {
    50: '#73aa6a',
    500: '#30862d',
    950: '#000000',
  },
}
SCSS
$custom: #30862d;
$custom-light: #73aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#30862d",
  "rgb": {
    "r": 48,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 117.978,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54865,
    "c": 0.15001,
    "h": 142.7
  },
  "luminance": 0.17868
}

Semantic roles & 50–950 ramp

primary
#30862D
secondary
#AE5EB1
accent
#4FD9D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #30862D

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

Preview Lab → · Contrast checker → · Palette generator →

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