#30731C#30731C

#30731C is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.4% C 0.138 H 139.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#30731C
RGBrgb(48, 115, 28)
HSLhsl(106, 61%, 28%)
HSVhsv(106, 76%, 45%)
CMYKcmyk(58.3%, 0%, 75.7%, 54.9%)
CIE-LABlab(42.72, -38.10, 39.50)
CIE-LCHlch(42.72, 54.88, 133.96°)
OKLaboklab(49.36% -0.1047 0.0893)
OKLCHoklch(49.36% 0.138 139.5)
XYZxyz(7.5589, 12.9731, 3.2041)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30731C #5F1C73
analogous
#5B731C #30731C #1C7333
triadic
#30731C #1C3073 #731C30
tetradic
#30731C #1C5B73 #5F1C73 #73331C
square
#30731C #1C5B73 #5F1C73 #73331C
split-complementary
#30731C #331C73 #731C5B
monochromatic
#0A1906 #1B4210 #30731C #45A428 #5DCF3A

Accessibility & contrast

On white

5.84
#30731C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#30731C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30731C
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30731C#FFFFFF#000000##FFFFFF
##30731C1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76680D
Deuteranopia (green-blind)
#6E6325
Tritanopia (blue-blind)
#296F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #30731c;
/* rgb */ color: rgb(48, 115, 28);
/* oklch */ color: oklch(49.4% 0.138 139.5);
Tailwind
colors: {
  custom: {
    50: '#709c5e',
    500: '#30731c',
    950: '#000000',
  },
}
SCSS
$custom: #30731c;
$custom-light: #709c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#30731c",
  "rgb": {
    "r": 48,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 106.207,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49359,
    "c": 0.13766,
    "h": 139.5
  },
  "luminance": 0.12974
}

Semantic roles & 50–950 ramp

primary
#30731C
secondary
#9043A7
accent
#44E4BF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #30731C

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

Preview Lab → · Contrast checker → · Palette generator →

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