#30711B#30711B

#30711B is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.8% C 0.136 H 139.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#30711B
RGBrgb(48, 113, 27)
HSLhsl(105, 61%, 27%)
HSVhsv(105, 76%, 44%)
CMYKcmyk(57.5%, 0%, 76.1%, 55.7%)
CIE-LABlab(42.03, -37.37, 39.19)
CIE-LCHlch(42.03, 54.15, 133.64°)
OKLaboklab(48.78% -0.1028 0.0886)
OKLCHoklch(48.78% 0.136 139.3)
XYZxyz(7.3216, 12.5172, 3.0669)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30711B #5C1B71
analogous
#5B711B #30711B #1B7131
triadic
#30711B #1B3071 #711B30
tetradic
#30711B #1B5B71 #5C1B71 #71311B
square
#30711B #1B5B71 #5C1B71 #71311B
split-complementary
#30711B #311B71 #711B5B
monochromatic
#0A1906 #1B400F #30711B #45A227 #5CCF37

Accessibility & contrast

On white

5.99
#30711B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#30711B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30711B
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30711B#FFFFFF#000000##FFFFFF
##30711B1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74670B
Deuteranopia (green-blind)
#6C6124
Tritanopia (blue-blind)
#296D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #30711b;
/* rgb */ color: rgb(48, 113, 27);
/* oklch */ color: oklch(48.8% 0.136 139.3);
Tailwind
colors: {
  custom: {
    50: '#709a5d',
    500: '#30711b',
    950: '#000000',
  },
}
SCSS
$custom: #30711b;
$custom-light: #709a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#30711b",
  "rgb": {
    "r": 48,
    "g": 113,
    "b": 27
  },
  "hsl": {
    "h": 105.349,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48783,
    "c": 0.13571,
    "h": 139.3
  },
  "luminance": 0.12518
}

Semantic roles & 50–950 ramp

primary
#30711B
secondary
#8D42A6
accent
#43E5BD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #30711B

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

Preview Lab → · Contrast checker → · Palette generator →

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