#30631C#30631C

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

Color values

HEX#30631C
RGBrgb(48, 99, 28)
HSLhsl(103, 56%, 25%)
HSVhsv(103, 72%, 39%)
CMYKcmyk(51.5%, 0%, 71.7%, 61.2%)
CIE-LABlab(37.18, -31.36, 33.75)
CIE-LCHlch(37.18, 46.07, 132.90°)
OKLaboklab(44.8% -0.0865 0.0773)
OKLCHoklch(44.8% 0.116 138.2)
XYZxyz(5.8902, 9.6355, 2.6478)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30631C #4F1C63
analogous
#53631C #30631C #1C632C
triadic
#30631C #1C3063 #631C30
tetradic
#30631C #1C5363 #4F1C63 #632C1C
square
#30631C #1C5363 #4F1C63 #632C1C
split-complementary
#30631C #2C1C63 #631C53
monochromatic
#0C1807 #19330F #30631C #479329 #5EC237

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30631C#FFFFFF#000000##FFFFFF
##30631C1.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)
#665A12
Deuteranopia (green-blind)
#5F5622
Tritanopia (blue-blind)
#2C5F55
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #30631c;
/* rgb */ color: rgb(48, 99, 28);
/* oklch */ color: oklch(44.8% 0.116 138.2);
Tailwind
colors: {
  custom: {
    50: '#6e905c',
    500: '#30631c',
    950: '#000000',
  },
}
SCSS
$custom: #30631c;
$custom-light: #6e905c;
$custom-dark: #000000;
JSON
{
  "hex": "#30631c",
  "rgb": {
    "r": 48,
    "g": 99,
    "b": 28
  },
  "hsl": {
    "h": 103.099,
    "s": 55.906,
    "l": 24.902
  },
  "oklch": {
    "l": 0.44796,
    "c": 0.11601,
    "h": 138.2
  },
  "luminance": 0.09636
}

Semantic roles & 50–950 ramp

primary
#30631C
secondary
#804398
accent
#49DFB5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #30631C

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

Preview Lab → · Contrast checker → · Palette generator →

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