#30751D#30751D

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

Color values

HEX#30751D
RGBrgb(48, 117, 29)
HSLhsl(107, 60%, 29%)
HSVhsv(107, 75%, 46%)
CMYKcmyk(59%, 0%, 75.2%, 54.1%)
CIE-LABlab(43.42, -38.81, 39.81)
CIE-LCHlch(43.42, 55.60, 134.28°)
OKLaboklab(49.94% -0.1066 0.0901)
OKLCHoklch(49.94% 0.14 139.8)
XYZxyz(7.8016, 13.4390, 3.3450)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30751D #621D75
analogous
#5C751D #30751D #1D7536
triadic
#30751D #1D3075 #751D30
tetradic
#30751D #1D5C75 #621D75 #75361D
square
#30751D #1D5C75 #621D75 #75361D
split-complementary
#30751D #361D75 #751D5C
monochromatic
#0A1906 #1C4411 #30751D #44A629 #5DCF3D

Accessibility & contrast

On white

5.69
#30751D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #30751D
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30751D#FFFFFF#000000##FFFFFF
##30751D1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A0E
Deuteranopia (green-blind)
#706426
Tritanopia (blue-blind)
#287164
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #30751d;
/* rgb */ color: rgb(48, 117, 29);
/* oklch */ color: oklch(49.9% 0.140 139.8);
Tailwind
colors: {
  custom: {
    50: '#719d5f',
    500: '#30751d',
    950: '#000000',
  },
}
SCSS
$custom: #30751d;
$custom-light: #719d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#30751d",
  "rgb": {
    "r": 48,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 107.045,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49935,
    "c": 0.13959,
    "h": 139.8
  },
  "luminance": 0.1344
}

Semantic roles & 50–950 ramp

primary
#30751D
secondary
#9345A9
accent
#44E3C1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #30751D

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

Preview Lab → · Contrast checker → · Palette generator →

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