#30681B#30681B

#30681B is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.2% C 0.124 H 138.6°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#30681B
RGBrgb(48, 104, 27)
HSLhsl(104, 59%, 26%)
HSVhsv(104, 74%, 41%)
CMYKcmyk(53.8%, 0%, 74%, 59.2%)
CIE-LABlab(38.91, -33.63, 36.01)
CIE-LCHlch(38.91, 49.26, 133.04°)
OKLaboklab(46.22% -0.0927 0.0819)
OKLCHoklch(46.22% 0.124 138.6)
XYZxyz(6.3668, 10.6077, 2.7487)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30681B #531B68
analogous
#56681B #30681B #1B682C
triadic
#30681B #1B3068 #681B30
tetradic
#30681B #1B5668 #531B68 #682C1B
square
#30681B #1B5668 #531B68 #682C1B
split-complementary
#30681B #2C1B68 #681B56
monochromatic
#0B1806 #1A370E #30681B #469928 #5DC934

Accessibility & contrast

On white

6.73
#30681B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#30681B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30681B
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30681B#FFFFFF#000000##FFFFFF
##30681B1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30681b;
/* rgb */ color: rgb(48, 104, 27);
/* oklch */ color: oklch(46.2% 0.124 138.6);
Tailwind
colors: {
  custom: {
    50: '#6f945c',
    500: '#30681b',
    950: '#000000',
  },
}
SCSS
$custom: #30681b;
$custom-light: #6f945c;
$custom-dark: #000000;
JSON
{
  "hex": "#30681b",
  "rgb": {
    "r": 48,
    "g": 104,
    "b": 27
  },
  "hsl": {
    "h": 103.636,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46217,
    "c": 0.1237,
    "h": 138.6
  },
  "luminance": 0.10608
}

Semantic roles & 50–950 ramp

primary
#30681B
secondary
#84429D
accent
#46E2B7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #30681B

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

Preview Lab → · Contrast checker → · Palette generator →

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