#30751C#30751C

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

Color values

HEX#30751C
RGBrgb(48, 117, 28)
HSLhsl(107, 61%, 28%)
HSVhsv(107, 76%, 46%)
CMYKcmyk(59%, 0%, 76.1%, 54.1%)
CIE-LABlab(43.41, -38.89, 40.20)
CIE-LCHlch(43.41, 55.93, 134.06°)
OKLaboklab(49.93% -0.1069 0.0908)
OKLCHoklch(49.93% 0.14 139.7)
XYZxyz(7.7895, 13.4341, 3.2809)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30751C #611C75
analogous
#5C751C #30751C #1C7534
triadic
#30751C #1C3075 #751C30
tetradic
#30751C #1C5C75 #611C75 #75341C
square
#30751C #1C5C75 #611C75 #75341C
split-complementary
#30751C #341C75 #751C5C
monochromatic
#0A1906 #1C4410 #30751C #44A628 #5DD03B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30751C#FFFFFF#000000##FFFFFF
##30751C1.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)
#786A0C
Deuteranopia (green-blind)
#706425
Tritanopia (blue-blind)
#287164
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #30751c;
/* rgb */ color: rgb(48, 117, 28);
/* oklch */ color: oklch(49.9% 0.140 139.7);
Tailwind
colors: {
  custom: {
    50: '#719d5f',
    500: '#30751c',
    950: '#000000',
  },
}
SCSS
$custom: #30751c;
$custom-light: #719d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#30751c",
  "rgb": {
    "r": 48,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 106.517,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49927,
    "c": 0.14024,
    "h": 139.7
  },
  "luminance": 0.13435
}

Semantic roles & 50–950 ramp

primary
#30751C
secondary
#9244A9
accent
#43E4C0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #30751C

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

Preview Lab → · Contrast checker → · Palette generator →

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