#30641B#30641B

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

Color values

HEX#30641B
RGBrgb(48, 100, 27)
HSLhsl(103, 57%, 25%)
HSVhsv(103, 73%, 39%)
CMYKcmyk(52%, 0%, 73%, 60.8%)
CIE-LABlab(37.52, -31.89, 34.55)
CIE-LCHlch(37.52, 47.02, 132.71°)
OKLaboklab(45.07% -0.088 0.0788)
OKLCHoklch(45.07% 0.118 138.2)
XYZxyz(5.9737, 9.8214, 2.6176)
Luminance0.0982 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30641B #4F1B64
analogous
#54641B #30641B #1B642B
triadic
#30641B #1B3064 #641B30
tetradic
#30641B #1B5464 #4F1B64 #642B1B
square
#30641B #1B5464 #4F1B64 #642B1B
split-complementary
#30641B #2B1B64 #641B54
monochromatic
#0C1807 #19340E #30641B #479428 #5EC435

Accessibility & contrast

On white

7.08
#30641B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#30641B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30641B
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30641B#FFFFFF#000000##FFFFFF
##30641B1.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B10
Deuteranopia (green-blind)
#605722
Tritanopia (blue-blind)
#2C6055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #30641b;
/* rgb */ color: rgb(48, 100, 27);
/* oklch */ color: oklch(45.1% 0.118 138.2);
Tailwind
colors: {
  custom: {
    50: '#6e915c',
    500: '#30641b',
    950: '#000000',
  },
}
SCSS
$custom: #30641b;
$custom-light: #6e915c;
$custom-dark: #000000;
JSON
{
  "hex": "#30641b",
  "rgb": {
    "r": 48,
    "g": 100,
    "b": 27
  },
  "hsl": {
    "h": 102.74,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45073,
    "c": 0.11818,
    "h": 138.2
  },
  "luminance": 0.09822
}

Semantic roles & 50–950 ramp

primary
#30641B
secondary
#804199
accent
#47E1B5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #30641B

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

Preview Lab → · Contrast checker → · Palette generator →

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