#30641F#30641F

#30641F is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.1% C 0.115 H 138.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#30641F
RGBrgb(48, 100, 31)
HSLhsl(105, 53%, 26%)
HSVhsv(105, 69%, 39%)
CMYKcmyk(52%, 0%, 69%, 60.8%)
CIE-LABlab(37.56, -31.50, 32.76)
CIE-LCHlch(37.56, 45.45, 133.88°)
OKLaboklab(45.11% -0.0867 0.0756)
OKLCHoklch(45.11% 0.115 138.9)
XYZxyz(6.0232, 9.8412, 2.8782)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30641F #531F64
analogous
#52641F #30641F #1F6430
triadic
#30641F #1F3064 #641F30
tetradic
#30641F #1F5264 #531F64 #64301F
square
#30641F #1F5264 #531F64 #64301F
split-complementary
#30641F #301F64 #641F52
monochromatic
#0B1707 #1A3511 #30641F #46932D #5DC13C

Accessibility & contrast

On white

7.07
#30641F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#30641F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30641F
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30641F#FFFFFF#000000##FFFFFF
##30641F1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B16
Deuteranopia (green-blind)
#605725
Tritanopia (blue-blind)
#2C6156
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #30641f;
/* rgb */ color: rgb(48, 100, 31);
/* oklch */ color: oklch(45.1% 0.115 138.9);
Tailwind
colors: {
  custom: {
    50: '#6e915e',
    500: '#30641f',
    950: '#000000',
  },
}
SCSS
$custom: #30641f;
$custom-light: #6e915e;
$custom-dark: #000000;
JSON
{
  "hex": "#30641f",
  "rgb": {
    "r": 48,
    "g": 100,
    "b": 31
  },
  "hsl": {
    "h": 105.217,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.45114,
    "c": 0.11502,
    "h": 138.9
  },
  "luminance": 0.09842
}

Semantic roles & 50–950 ramp

primary
#30641F
secondary
#844698
accent
#4CDCB9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #30641F

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

Preview Lab → · Contrast checker → · Palette generator →

#30641F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva