#30701B#30701B

#30701B is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.134 H 139.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#30701B
RGBrgb(48, 112, 27)
HSLhsl(105, 61%, 27%)
HSVhsv(105, 76%, 44%)
CMYKcmyk(57.1%, 0%, 75.9%, 56.1%)
CIE-LABlab(41.68, -36.96, 38.84)
CIE-LCHlch(41.68, 53.62, 133.58°)
OKLaboklab(48.5% -0.1017 0.0878)
OKLCHoklch(48.5% 0.134 139.2)
XYZxyz(7.2106, 12.2953, 3.0299)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30701B #5B1B70
analogous
#5B701B #30701B #1B7030
triadic
#30701B #1B3070 #701B30
tetradic
#30701B #1B5B70 #5B1B70 #70301B
square
#30701B #1B5B70 #5B1B70 #70301B
split-complementary
#30701B #301B70 #701B5B
monochromatic
#0B1906 #1B3F0F #30701B #45A127 #5CCF37

Accessibility & contrast

On white

6.07
#30701B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#30701B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30701B
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30701B#FFFFFF#000000##FFFFFF
##30701B1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73660C
Deuteranopia (green-blind)
#6B6024
Tritanopia (blue-blind)
#2A6C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #30701b;
/* rgb */ color: rgb(48, 112, 27);
/* oklch */ color: oklch(48.5% 0.134 139.2);
Tailwind
colors: {
  custom: {
    50: '#709a5d',
    500: '#30701b',
    950: '#000000',
  },
}
SCSS
$custom: #30701b;
$custom-light: #709a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#30701b",
  "rgb": {
    "r": 48,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 105.176,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48499,
    "c": 0.1344,
    "h": 139.2
  },
  "luminance": 0.12296
}

Semantic roles & 50–950 ramp

primary
#30701B
secondary
#8C42A5
accent
#44E4BD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #30701B

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

Preview Lab → · Contrast checker → · Palette generator →

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