#30631B#30631B

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

Color values

HEX#30631B
RGBrgb(48, 99, 27)
HSLhsl(103, 57%, 25%)
HSVhsv(103, 73%, 39%)
CMYKcmyk(51.5%, 0%, 72.7%, 61.2%)
CIE-LABlab(37.17, -31.46, 34.19)
CIE-LCHlch(37.17, 46.46, 132.62°)
OKLaboklab(44.79% -0.0868 0.0781)
OKLCHoklch(44.79% 0.117 138)
XYZxyz(5.8784, 9.6308, 2.5859)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30631B #4E1B63
analogous
#54631B #30631B #1B632A
triadic
#30631B #1B3063 #631B30
tetradic
#30631B #1B5463 #4E1B63 #632A1B
square
#30631B #1B5463 #4E1B63 #632A1B
split-complementary
#30631B #2A1B63 #631B54
monochromatic
#0C1807 #19330E #30631B #479328 #5FC335

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30631B#FFFFFF#000000##FFFFFF
##30631B1.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)
#665A11
Deuteranopia (green-blind)
#605622
Tritanopia (blue-blind)
#2C5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #30631b;
/* rgb */ color: rgb(48, 99, 27);
/* oklch */ color: oklch(44.8% 0.117 138.0);
Tailwind
colors: {
  custom: {
    50: '#6e905c',
    500: '#30631b',
    950: '#000000',
  },
}
SCSS
$custom: #30631b;
$custom-light: #6e905c;
$custom-dark: #000000;
JSON
{
  "hex": "#30631b",
  "rgb": {
    "r": 48,
    "g": 99,
    "b": 27
  },
  "hsl": {
    "h": 102.5,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.44786,
    "c": 0.11678,
    "h": 138
  },
  "luminance": 0.09631
}

Semantic roles & 50–950 ramp

primary
#30631B
secondary
#7F4198
accent
#47E0B4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #30631B

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

Preview Lab → · Contrast checker → · Palette generator →

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