#30681F#30681F

#30681F is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.3% C 0.121 H 139.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#30681F
RGBrgb(48, 104, 31)
HSLhsl(106, 54%, 26%)
HSVhsv(106, 70%, 41%)
CMYKcmyk(53.8%, 0%, 70.2%, 59.2%)
CIE-LABlab(38.95, -33.25, 34.27)
CIE-LCHlch(38.95, 47.74, 134.14°)
OKLaboklab(46.26% -0.0914 0.0788)
OKLCHoklch(46.26% 0.121 139.2)
XYZxyz(6.4163, 10.6275, 3.0093)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30681F #571F68
analogous
#55681F #30681F #1F6833
triadic
#30681F #1F3068 #681F30
tetradic
#30681F #1F5568 #571F68 #68331F
square
#30681F #1F5568 #571F68 #68331F
split-complementary
#30681F #331F68 #681F55
monochromatic
#0B1807 #1A3911 #30681F #46972D #5CC53C

Accessibility & contrast

On white

6.72
#30681F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#30681F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30681F
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30681F#FFFFFF#000000##FFFFFF
##30681F1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F15
Deuteranopia (green-blind)
#645A25
Tritanopia (blue-blind)
#2B6459
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #30681f;
/* rgb */ color: rgb(48, 104, 31);
/* oklch */ color: oklch(46.3% 0.121 139.2);
Tailwind
colors: {
  custom: {
    50: '#6e945f',
    500: '#30681f',
    950: '#000000',
  },
}
SCSS
$custom: #30681f;
$custom-light: #6e945f;
$custom-dark: #000000;
JSON
{
  "hex": "#30681f",
  "rgb": {
    "r": 48,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 106.027,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.46256,
    "c": 0.12067,
    "h": 139.2
  },
  "luminance": 0.10628
}

Semantic roles & 50–950 ramp

primary
#30681F
secondary
#88469C
accent
#4ADDBB
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #30681F

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

Preview Lab → · Contrast checker → · Palette generator →

#30681F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva