#30851A#30851A

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

Color values

HEX#30851A
RGBrgb(48, 133, 26)
HSLhsl(108, 67%, 31%)
HSVhsv(108, 80%, 52%)
CMYKcmyk(63.9%, 0%, 80.5%, 47.8%)
CIE-LABlab(48.86, -45.15, 46.26)
CIE-LCHlch(48.86, 64.65, 134.30°)
OKLaboklab(54.42% -0.1239 0.1032)
OKLCHoklch(54.42% 0.161 140.2)
XYZxyz(9.7924, 17.4771, 3.8344)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30851A #6F1A85
analogous
#65851A #30851A #1A8539
triadic
#30851A #1A3085 #851A30
tetradic
#30851A #1A6585 #6F1A85 #85391A
square
#30851A #1A6585 #6F1A85 #85391A
split-complementary
#30851A #391A85 #851A65
monochromatic
#0B1F06 #1E5210 #30851A #42B824 #5FDA40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30851A#FFFFFF#000000##FFFFFF
##30851A1.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)
#7E7126
Tritanopia (blue-blind)
#248071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #30851a;
/* rgb */ color: rgb(48, 133, 26);
/* oklch */ color: oklch(54.4% 0.161 140.2);
Tailwind
colors: {
  custom: {
    50: '#74a960',
    500: '#30851a',
    950: '#000000',
  },
}
SCSS
$custom: #30851a;
$custom-light: #74a960;
$custom-dark: #000000;
JSON
{
  "hex": "#30851a",
  "rgb": {
    "r": 48,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 107.664,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54423,
    "c": 0.16121,
    "h": 140.2
  },
  "luminance": 0.17478
}

Semantic roles & 50–950 ramp

primary
#30851A
secondary
#A042B8
accent
#3EEAC7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #30851A

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

Preview Lab → · Contrast checker → · Palette generator →

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