#30741F#30741F

#30741F is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.7% C 0.137 H 140.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#30741F
RGBrgb(48, 116, 31)
HSLhsl(108, 58%, 29%)
HSVhsv(108, 73%, 45%)
CMYKcmyk(58.6%, 0%, 73.3%, 54.5%)
CIE-LABlab(43.09, -38.24, 38.65)
CIE-LCHlch(43.09, 54.37, 134.70°)
OKLaboklab(49.67% -0.1049 0.088)
OKLCHoklch(49.67% 0.137 140)
XYZxyz(7.7113, 13.2174, 3.4409)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30741F #631F74
analogous
#5B741F #30741F #1F7439
triadic
#30741F #1F3074 #741F30
tetradic
#30741F #1F5B74 #631F74 #74391F
square
#30741F #1F5B74 #631F74 #74391F
split-complementary
#30741F #391F74 #741F5B
monochromatic
#0A1806 #1C4412 #30741F #44A42C #5DCC41

Accessibility & contrast

On white

5.76
#30741F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#30741F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30741F
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30741F#FFFFFF#000000##FFFFFF
##30741F1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776912
Deuteranopia (green-blind)
#6F6427
Tritanopia (blue-blind)
#287063
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #30741f;
/* rgb */ color: rgb(48, 116, 31);
/* oklch */ color: oklch(49.7% 0.137 140.0);
Tailwind
colors: {
  custom: {
    50: '#709d60',
    500: '#30741f',
    950: '#000000',
  },
}
SCSS
$custom: #30741f;
$custom-light: #709d60;
$custom-dark: #000000;
JSON
{
  "hex": "#30741f",
  "rgb": {
    "r": 48,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 108,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49669,
    "c": 0.13693,
    "h": 140
  },
  "luminance": 0.13218
}

Semantic roles & 50–950 ramp

primary
#30741F
secondary
#9447A8
accent
#47E1C2
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #30741F

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

Preview Lab → · Contrast checker → · Palette generator →

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