#30631E#30631E

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

Color values

HEX#30631E
RGBrgb(48, 99, 30)
HSLhsl(104, 53%, 25%)
HSVhsv(104, 70%, 39%)
CMYKcmyk(51.5%, 0%, 69.7%, 61.2%)
CIE-LABlab(37.20, -31.16, 32.84)
CIE-LCHlch(37.20, 45.27, 133.50°)
OKLaboklab(44.82% -0.0858 0.0757)
OKLCHoklch(44.82% 0.114 138.6)
XYZxyz(5.9149, 9.6454, 2.7781)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30631E #511E63
analogous
#52631E #30631E #1E632F
triadic
#30631E #1E3063 #631E30
tetradic
#30631E #1E5263 #511E63 #632F1E
square
#30631E #1E5263 #511E63 #632F1E
split-complementary
#30631E #2F1E63 #631E52
monochromatic
#0B1707 #193410 #30631E #47922C #5EC13A

Accessibility & contrast

On white

7.17
#30631E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30631E
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30631E#FFFFFF#000000##FFFFFF
##30631E1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A15
Deuteranopia (green-blind)
#5F5624
Tritanopia (blue-blind)
#2C6055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #30631e;
/* rgb */ color: rgb(48, 99, 30);
/* oklch */ color: oklch(44.8% 0.114 138.6);
Tailwind
colors: {
  custom: {
    50: '#6d905d',
    500: '#30631e',
    950: '#000000',
  },
}
SCSS
$custom: #30631e;
$custom-light: #6d905d;
$custom-dark: #000000;
JSON
{
  "hex": "#30631e",
  "rgb": {
    "r": 48,
    "g": 99,
    "b": 30
  },
  "hsl": {
    "h": 104.348,
    "s": 53.488,
    "l": 25.294
  },
  "oklch": {
    "l": 0.44817,
    "c": 0.11441,
    "h": 138.6
  },
  "luminance": 0.09646
}

Semantic roles & 50–950 ramp

primary
#30631E
secondary
#824598
accent
#4BDDB7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #30631E

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

Preview Lab → · Contrast checker → · Palette generator →

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