#30671C#30671C

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

Color values

HEX#30671C
RGBrgb(48, 103, 28)
HSLhsl(104, 57%, 26%)
HSVhsv(104, 73%, 40%)
CMYKcmyk(53.4%, 0%, 72.8%, 59.6%)
CIE-LABlab(38.57, -33.11, 35.22)
CIE-LCHlch(38.57, 48.34, 133.23°)
OKLaboklab(45.94% -0.0912 0.0804)
OKLCHoklch(45.94% 0.122 138.6)
XYZxyz(6.2785, 10.4123, 2.7773)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30671C #531C67
analogous
#55671C #30671C #1C672D
triadic
#30671C #1C3067 #671C30
tetradic
#30671C #1C5567 #531C67 #672D1C
square
#30671C #1C5567 #531C67 #672D1C
split-complementary
#30671C #2D1C67 #671C55
monochromatic
#0B1807 #1A370F #30671C #469729 #5DC736

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30671C#FFFFFF#000000##FFFFFF
##30671C1.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)
#6A5E11
Deuteranopia (green-blind)
#635923
Tritanopia (blue-blind)
#2B6358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #30671c;
/* rgb */ color: rgb(48, 103, 28);
/* oklch */ color: oklch(45.9% 0.122 138.6);
Tailwind
colors: {
  custom: {
    50: '#6e935d',
    500: '#30671c',
    950: '#000000',
  },
}
SCSS
$custom: #30671c;
$custom-light: #6e935d;
$custom-dark: #000000;
JSON
{
  "hex": "#30671c",
  "rgb": {
    "r": 48,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 104,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.45941,
    "c": 0.1216,
    "h": 138.6
  },
  "luminance": 0.10413
}

Semantic roles & 50–950 ramp

primary
#30671C
secondary
#84439C
accent
#47E1B8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #30671C

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

Preview Lab → · Contrast checker → · Palette generator →

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