#30851F#30851F

#30851F is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.158 H 140.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#30851F
RGBrgb(48, 133, 31)
HSLhsl(110, 62%, 32%)
HSVhsv(110, 77%, 52%)
CMYKcmyk(63.9%, 0%, 76.7%, 47.8%)
CIE-LABlab(48.89, -44.80, 44.54)
CIE-LCHlch(48.89, 63.17, 135.17°)
OKLaboklab(54.46% -0.1226 0.1003)
OKLCHoklch(54.46% 0.158 140.7)
XYZxyz(9.8533, 17.5014, 4.1549)
Luminance0.1750 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30851F #741F85
analogous
#63851F #30851F #1F8541
triadic
#30851F #1F3085 #851F30
tetradic
#30851F #1F6385 #741F85 #85411F
square
#30851F #1F6385 #741F85 #85411F
split-complementary
#30851F #411F85 #851F63
monochromatic
#0C2208 #1E5313 #30851F #42B72B #61D54A

Accessibility & contrast

On white

4.67
#30851F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#30851F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #30851F
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30851F#FFFFFF#000000##FFFFFF
##30851F1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89780A
Deuteranopia (green-blind)
#7E712A
Tritanopia (blue-blind)
#238171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #30851f;
/* rgb */ color: rgb(48, 133, 31);
/* oklch */ color: oklch(54.5% 0.158 140.7);
Tailwind
colors: {
  custom: {
    50: '#74a962',
    500: '#30851f',
    950: '#000000',
  },
}
SCSS
$custom: #30851f;
$custom-light: #74a962;
$custom-dark: #000000;
JSON
{
  "hex": "#30851f",
  "rgb": {
    "r": 48,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 110,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54458,
    "c": 0.15842,
    "h": 140.7
  },
  "luminance": 0.17502
}

Semantic roles & 50–950 ramp

primary
#30851F
secondary
#A549B7
accent
#43E5CA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #30851F

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

Preview Lab → · Contrast checker → · Palette generator →

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