#30701F#30701F

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

Color values

HEX#30701F
RGBrgb(48, 112, 31)
HSLhsl(107, 57%, 28%)
HSVhsv(107, 72%, 44%)
CMYKcmyk(57.1%, 0%, 72.3%, 56.1%)
CIE-LABlab(41.71, -36.61, 37.21)
CIE-LCHlch(41.71, 52.20, 134.54°)
OKLaboklab(48.53% -0.1005 0.085)
OKLCHoklch(48.53% 0.132 139.8)
XYZxyz(7.2601, 12.3151, 3.2905)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30701F #5F1F70
analogous
#58701F #30701F #1F7036
triadic
#30701F #1F3070 #701F30
tetradic
#30701F #1F5870 #5F1F70 #70361F
square
#30701F #1F5870 #5F1F70 #70361F
split-complementary
#30701F #361F70 #701F58
monochromatic
#0A1807 #1B4012 #30701F #45A02C #5DCA3F

Accessibility & contrast

On white

6.06
#30701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #30701F
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30701F#FFFFFF#000000##FFFFFF
##30701F1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736613
Deuteranopia (green-blind)
#6B6027
Tritanopia (blue-blind)
#296C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #30701f;
/* rgb */ color: rgb(48, 112, 31);
/* oklch */ color: oklch(48.5% 0.132 139.8);
Tailwind
colors: {
  custom: {
    50: '#709a60',
    500: '#30701f',
    950: '#000000',
  },
}
SCSS
$custom: #30701f;
$custom-light: #709a60;
$custom-dark: #000000;
JSON
{
  "hex": "#30701f",
  "rgb": {
    "r": 48,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 107.407,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48534,
    "c": 0.13162,
    "h": 139.8
  },
  "luminance": 0.12316
}

Semantic roles & 50–950 ramp

primary
#30701F
secondary
#9047A4
accent
#48E0C0
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #30701F

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

Preview Lab → · Contrast checker → · Palette generator →

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