#30851B#30851B

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

Color values

HEX#30851B
RGBrgb(48, 133, 27)
HSLhsl(108, 66%, 31%)
HSVhsv(108, 80%, 52%)
CMYKcmyk(63.9%, 0%, 79.7%, 47.8%)
CIE-LABlab(48.86, -45.09, 45.93)
CIE-LCHlch(48.86, 64.36, 134.47°)
OKLaboklab(54.43% -0.1236 0.1026)
OKLCHoklch(54.43% 0.161 140.3)
XYZxyz(9.8038, 17.4816, 3.8943)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30851B #701B85
analogous
#65851B #30851B #1B853B
triadic
#30851B #1B3085 #851B30
tetradic
#30851B #1B6585 #701B85 #853B1B
square
#30851B #1B6585 #701B85 #853B1B
split-complementary
#30851B #3B1B85 #851B65
monochromatic
#0B1F06 #1E5211 #30851B #42B825 #60D942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30851B#FFFFFF#000000##FFFFFF
##30851B1.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)
#897800
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#238071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #30851b;
/* rgb */ color: rgb(48, 133, 27);
/* oklch */ color: oklch(54.4% 0.161 140.3);
Tailwind
colors: {
  custom: {
    50: '#74a960',
    500: '#30851b',
    950: '#000000',
  },
}
SCSS
$custom: #30851b;
$custom-light: #74a960;
$custom-dark: #000000;
JSON
{
  "hex": "#30851b",
  "rgb": {
    "r": 48,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 108.113,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5443,
    "c": 0.16068,
    "h": 140.3
  },
  "luminance": 0.17483
}

Semantic roles & 50–950 ramp

primary
#30851B
secondary
#A144B8
accent
#3FE9C7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #30851B

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

Preview Lab → · Contrast checker → · Palette generator →

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