#30671B#30671B

#30671B is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.9% C 0.122 H 138.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#30671B
RGBrgb(48, 103, 27)
HSLhsl(103, 58%, 25%)
HSVhsv(103, 74%, 40%)
CMYKcmyk(53.4%, 0%, 73.8%, 59.6%)
CIE-LABlab(38.56, -33.20, 35.64)
CIE-LCHlch(38.56, 48.71, 132.96°)
OKLaboklab(45.93% -0.0916 0.0811)
OKLCHoklch(45.93% 0.122 138.5)
XYZxyz(6.2668, 10.4075, 2.7153)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30671B #521B67
analogous
#56671B #30671B #1B672C
triadic
#30671B #1B3067 #671B30
tetradic
#30671B #1B5667 #521B67 #672C1B
square
#30671B #1B5667 #521B67 #672C1B
split-complementary
#30671B #2C1B67 #671B56
monochromatic
#0B1806 #19370E #30671B #479728 #5DC834

Accessibility & contrast

On white

6.81
#30671B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#30671B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30671B
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30671B#FFFFFF#000000##FFFFFF
##30671B1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E0F
Deuteranopia (green-blind)
#635922
Tritanopia (blue-blind)
#2C6358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #30671b;
/* rgb */ color: rgb(48, 103, 27);
/* oklch */ color: oklch(45.9% 0.122 138.5);
Tailwind
colors: {
  custom: {
    50: '#6e935c',
    500: '#30671b',
    950: '#000000',
  },
}
SCSS
$custom: #30671b;
$custom-light: #6e935c;
$custom-dark: #000000;
JSON
{
  "hex": "#30671b",
  "rgb": {
    "r": 48,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 103.421,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45931,
    "c": 0.12233,
    "h": 138.5
  },
  "luminance": 0.10408
}

Semantic roles & 50–950 ramp

primary
#30671B
secondary
#83429C
accent
#46E2B7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #30671B

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

Preview Lab → · Contrast checker → · Palette generator →

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