#30751A#30751A

#30751A is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.9% C 0.141 H 139.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#30751A
RGBrgb(48, 117, 26)
HSLhsl(105, 64%, 28%)
HSVhsv(105, 78%, 46%)
CMYKcmyk(59%, 0%, 77.8%, 54.1%)
CIE-LABlab(43.40, -39.05, 40.95)
CIE-LCHlch(43.40, 56.59, 133.64°)
OKLaboklab(49.91% -0.1074 0.0921)
OKLCHoklch(49.91% 0.142 139.4)
XYZxyz(7.7663, 13.4249, 3.1591)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30751A #5F1A75
analogous
#5D751A #30751A #1A7532
triadic
#30751A #1A3075 #751A30
tetradic
#30751A #1A5D75 #5F1A75 #75321A
square
#30751A #1A5D75 #5F1A75 #75321A
split-complementary
#30751A #321A75 #751A5D
monochromatic
#0A1906 #1B430F #30751A #45A725 #5DD337

Accessibility & contrast

On white

5.70
#30751A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#30751A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30751A
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30751A#FFFFFF#000000##FFFFFF
##30751A1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A07
Deuteranopia (green-blind)
#706424
Tritanopia (blue-blind)
#287164
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #30751a;
/* rgb */ color: rgb(48, 117, 26);
/* oklch */ color: oklch(49.9% 0.141 139.4);
Tailwind
colors: {
  custom: {
    50: '#719d5e',
    500: '#30751a',
    950: '#000000',
  },
}
SCSS
$custom: #30751a;
$custom-light: #719d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#30751a",
  "rgb": {
    "r": 48,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 105.495,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49911,
    "c": 0.1415,
    "h": 139.4
  },
  "luminance": 0.13426
}

Semantic roles & 50–950 ramp

primary
#30751A
secondary
#9041AA
accent
#41E7BF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #30751A

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

Preview Lab → · Contrast checker → · Palette generator →

#30751A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva