#30711C#30711C

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

Color values

HEX#30711C
RGBrgb(48, 113, 28)
HSLhsl(106, 60%, 28%)
HSVhsv(106, 75%, 44%)
CMYKcmyk(57.5%, 0%, 75.2%, 55.7%)
CIE-LABlab(42.03, -37.29, 38.80)
CIE-LCHlch(42.03, 53.81, 133.86°)
OKLaboklab(48.79% -0.1025 0.0879)
OKLCHoklch(48.79% 0.135 139.4)
XYZxyz(7.3334, 12.5219, 3.1289)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30711C #5D1C71
analogous
#5B711C #30711C #1C7132
triadic
#30711C #1C3071 #711C30
tetradic
#30711C #1C5B71 #5D1C71 #71321C
square
#30711C #1C5B71 #5D1C71 #71321C
split-complementary
#30711C #321C71 #711C5B
monochromatic
#0A1906 #1B4010 #30711C #45A228 #5CCE39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30711C#FFFFFF#000000##FFFFFF
##30711C1.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)
#74670D
Deuteranopia (green-blind)
#6C6124
Tritanopia (blue-blind)
#296D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #30711c;
/* rgb */ color: rgb(48, 113, 28);
/* oklch */ color: oklch(48.8% 0.135 139.4);
Tailwind
colors: {
  custom: {
    50: '#709a5e',
    500: '#30711c',
    950: '#000000',
  },
}
SCSS
$custom: #30711c;
$custom-light: #709a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#30711c",
  "rgb": {
    "r": 48,
    "g": 113,
    "b": 28
  },
  "hsl": {
    "h": 105.882,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48791,
    "c": 0.13505,
    "h": 139.4
  },
  "luminance": 0.12522
}

Semantic roles & 50–950 ramp

primary
#30711C
secondary
#8E43A6
accent
#44E3BE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #30711C

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

Preview Lab → · Contrast checker → · Palette generator →

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