#30851C#30851C

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

Color values

HEX#30851C
RGBrgb(48, 133, 28)
HSLhsl(109, 65%, 32%)
HSVhsv(109, 79%, 52%)
CMYKcmyk(63.9%, 0%, 78.9%, 47.8%)
CIE-LABlab(48.87, -45.02, 45.60)
CIE-LCHlch(48.87, 64.07, 134.63°)
OKLaboklab(54.44% -0.1234 0.1021)
OKLCHoklch(54.44% 0.16 140.4)
XYZxyz(9.8156, 17.4863, 3.9563)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30851C #711C85
analogous
#65851C #30851C #1C853D
triadic
#30851C #1C3085 #851C30
tetradic
#30851C #1C6585 #711C85 #853D1C
square
#30851C #1C6585 #711C85 #853D1C
split-complementary
#30851C #3D1C85 #851C65
monochromatic
#0C2007 #1E5211 #30851C #42B827 #60D844

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30851C#FFFFFF#000000##FFFFFF
##30851C1.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)
#897803
Deuteranopia (green-blind)
#7E7128
Tritanopia (blue-blind)
#238171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #30851c;
/* rgb */ color: rgb(48, 133, 28);
/* oklch */ color: oklch(54.4% 0.160 140.4);
Tailwind
colors: {
  custom: {
    50: '#74a961',
    500: '#30851c',
    950: '#000000',
  },
}
SCSS
$custom: #30851c;
$custom-light: #74a961;
$custom-dark: #000000;
JSON
{
  "hex": "#30851c",
  "rgb": {
    "r": 48,
    "g": 133,
    "b": 28
  },
  "hsl": {
    "h": 108.571,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54437,
    "c": 0.16014,
    "h": 140.4
  },
  "luminance": 0.17487
}

Semantic roles & 50–950 ramp

primary
#30851C
secondary
#A245B8
accent
#40E8C8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #30851C

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

Preview Lab → · Contrast checker → · Palette generator →

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