#30741B#30741B

#30741B is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.140 H 139.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#30741B
RGBrgb(48, 116, 27)
HSLhsl(106, 62%, 28%)
HSVhsv(106, 77%, 45%)
CMYKcmyk(58.6%, 0%, 76.7%, 54.5%)
CIE-LABlab(43.06, -38.58, 40.23)
CIE-LCHlch(43.06, 55.74, 133.80°)
OKLaboklab(49.64% -0.1061 0.0907)
OKLCHoklch(49.64% 0.14 139.5)
XYZxyz(7.6618, 13.1976, 3.1803)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30741B #5F1B74
analogous
#5C741B #30741B #1B7432
triadic
#30741B #1B3074 #741B30
tetradic
#30741B #1B5C74 #5F1B74 #74321B
square
#30741B #1B5C74 #5F1B74 #74321B
split-complementary
#30741B #321B74 #741B5C
monochromatic
#0A1906 #1B420F #30741B #45A627 #5DD139

Accessibility & contrast

On white

5.77
#30741B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #30741B
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30741B#FFFFFF#000000##FFFFFF
##30741B1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690A
Deuteranopia (green-blind)
#6F6424
Tritanopia (blue-blind)
#297063
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #30741b;
/* rgb */ color: rgb(48, 116, 27);
/* oklch */ color: oklch(49.6% 0.140 139.5);
Tailwind
colors: {
  custom: {
    50: '#719d5e',
    500: '#30741b',
    950: '#000000',
  },
}
SCSS
$custom: #30741b;
$custom-light: #719d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#30741b",
  "rgb": {
    "r": 48,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 105.843,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49635,
    "c": 0.1396,
    "h": 139.5
  },
  "luminance": 0.13198
}

Semantic roles & 50–950 ramp

primary
#30741B
secondary
#9042A9
accent
#42E5BF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #30741B

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

Preview Lab → · Contrast checker → · Palette generator →

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