#30631A#30631A

#30631A is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.8% C 0.118 H 137.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#30631A
RGBrgb(48, 99, 26)
HSLhsl(102, 58%, 25%)
HSVhsv(102, 74%, 39%)
CMYKcmyk(51.5%, 0%, 73.7%, 61.2%)
CIE-LABlab(37.16, -31.55, 34.62)
CIE-LCHlch(37.16, 46.84, 132.34°)
OKLaboklab(44.78% -0.0872 0.0788)
OKLCHoklch(44.78% 0.118 137.9)
XYZxyz(5.8670, 9.6262, 2.5260)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30631A #4D1A63
analogous
#55631A #30631A #1A6329
triadic
#30631A #1A3063 #631A30
tetradic
#30631A #1A5563 #4D1A63 #63291A
square
#30631A #1A5563 #4D1A63 #63291A
split-complementary
#30631A #291A63 #631A55
monochromatic
#0C1806 #18330D #30631A #489327 #5FC433

Accessibility & contrast

On white

7.18
#30631A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#30631A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30631A
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30631A#FFFFFF#000000##FFFFFF
##30631A1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0F
Deuteranopia (green-blind)
#605621
Tritanopia (blue-blind)
#2C5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #30631a;
/* rgb */ color: rgb(48, 99, 26);
/* oklch */ color: oklch(44.8% 0.118 137.9);
Tailwind
colors: {
  custom: {
    50: '#6e905b',
    500: '#30631a',
    950: '#000000',
  },
}
SCSS
$custom: #30631a;
$custom-light: #6e905b;
$custom-dark: #000000;
JSON
{
  "hex": "#30631a",
  "rgb": {
    "r": 48,
    "g": 99,
    "b": 26
  },
  "hsl": {
    "h": 101.918,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.44777,
    "c": 0.11753,
    "h": 137.9
  },
  "luminance": 0.09627
}

Semantic roles & 50–950 ramp

primary
#30631A
secondary
#7E4099
accent
#46E2B3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #30631A

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

Preview Lab → · Contrast checker → · Palette generator →

#30631A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva