#30751B#30751B

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

Color values

HEX#30751B
RGBrgb(48, 117, 27)
HSLhsl(106, 63%, 28%)
HSVhsv(106, 77%, 46%)
CMYKcmyk(59%, 0%, 76.9%, 54.1%)
CIE-LABlab(43.40, -38.97, 40.58)
CIE-LCHlch(43.40, 56.26, 133.85°)
OKLaboklab(49.92% -0.1072 0.0914)
OKLCHoklch(49.92% 0.141 139.5)
XYZxyz(7.7777, 13.4294, 3.2190)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30751B #601B75
analogous
#5D751B #30751B #1B7533
triadic
#30751B #1B3075 #751B30
tetradic
#30751B #1B5D75 #601B75 #75331B
square
#30751B #1B5D75 #601B75 #75331B
split-complementary
#30751B #331B75 #751B5D
monochromatic
#0A1906 #1C4310 #30751B #44A726 #5DD139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30751B#FFFFFF#000000##FFFFFF
##30751B1.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)
#786A09
Deuteranopia (green-blind)
#706424
Tritanopia (blue-blind)
#287164
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #30751b;
/* rgb */ color: rgb(48, 117, 27);
/* oklch */ color: oklch(49.9% 0.141 139.5);
Tailwind
colors: {
  custom: {
    50: '#719d5e',
    500: '#30751b',
    950: '#000000',
  },
}
SCSS
$custom: #30751b;
$custom-light: #719d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#30751b",
  "rgb": {
    "r": 48,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 106,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49919,
    "c": 0.14088,
    "h": 139.5
  },
  "luminance": 0.1343
}

Semantic roles & 50–950 ramp

primary
#30751B
secondary
#9142A9
accent
#42E6BF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #30751B

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

Preview Lab → · Contrast checker → · Palette generator →

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