#30751F#30751F

#30751F is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.138 H 140.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#30751F
RGBrgb(48, 117, 31)
HSLhsl(108, 58%, 29%)
HSVhsv(108, 74%, 46%)
CMYKcmyk(59%, 0%, 73.5%, 54.1%)
CIE-LABlab(43.43, -38.64, 39.00)
CIE-LCHlch(43.43, 54.90, 134.73°)
OKLaboklab(49.95% -0.106 0.0887)
OKLCHoklch(49.95% 0.138 140.1)
XYZxyz(7.8272, 13.4492, 3.4795)
Luminance0.1345 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30751F #641F75
analogous
#5B751F #30751F #1F7539
triadic
#30751F #1F3075 #751F30
tetradic
#30751F #1F5B75 #641F75 #75391F
square
#30751F #1F5B75 #641F75 #75391F
split-complementary
#30751F #391F75 #751F5B
monochromatic
#0A1806 #1C4512 #30751F #44A52C #5DCD42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30751F#FFFFFF#000000##FFFFFF
##30751F1.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)
#786A11
Deuteranopia (green-blind)
#706427
Tritanopia (blue-blind)
#287164
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #30751f;
/* rgb */ color: rgb(48, 117, 31);
/* oklch */ color: oklch(50.0% 0.138 140.1);
Tailwind
colors: {
  custom: {
    50: '#719d60',
    500: '#30751f',
    950: '#000000',
  },
}
SCSS
$custom: #30751f;
$custom-light: #719d60;
$custom-dark: #000000;
JSON
{
  "hex": "#30751f",
  "rgb": {
    "r": 48,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 108.14,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49952,
    "c": 0.13824,
    "h": 140.1
  },
  "luminance": 0.1345
}

Semantic roles & 50–950 ramp

primary
#30751F
secondary
#9547A9
accent
#46E1C3
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #30751F

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

Preview Lab → · Contrast checker → · Palette generator →

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