#07381F#07381F

#07381F is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.2% C 0.068 H 155.6°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#07381F
RGBrgb(7, 56, 31)
HSLhsl(149, 78%, 12%)
HSVhsv(149, 88%, 22%)
CMYKcmyk(87.5%, 0%, 44.6%, 78%)
CIE-LABlab(19.93, -22.88, 11.22)
CIE-LCHlch(19.93, 25.48, 153.89°)
OKLaboklab(30.19% -0.0617 0.028)
OKLCHoklch(30.19% 0.068 155.6)
XYZxyz(1.7489, 2.9722, 1.7776)
Luminance0.0297 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07381F #380720
analogous
#073807 #07381F #073838
triadic
#07381F #1F0738 #381F07
tetradic
#07381F #070738 #380720 #383807
square
#07381F #070738 #380720 #383807
split-complementary
#07381F #380738 #380707
monochromatic
#031B0F #031B0F #07381F #0E6E3D #15A55B

Accessibility & contrast

On white

13.17
#07381F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#07381F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07381F
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07381F#FFFFFF#000000##FFFFFF
##07381F1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331D
Deuteranopia (green-blind)
#322E21
Tritanopia (blue-blind)
#003732
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #07381f;
/* rgb */ color: rgb(7, 56, 31);
/* oklch */ color: oklch(30.2% 0.068 155.6);
Tailwind
colors: {
  custom: {
    50: '#506f5a',
    500: '#07381f',
    950: '#000000',
  },
}
SCSS
$custom: #07381f;
$custom-light: #506f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#07381f",
  "rgb": {
    "r": 7,
    "g": 56,
    "b": 31
  },
  "hsl": {
    "h": 149.388,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.30194,
    "c": 0.0678,
    "h": 155.6
  },
  "luminance": 0.02972
}

Semantic roles & 50–950 ramp

primary
#07381F
secondary
#78234E
accent
#3496F4
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020704
muted
#787A79

Preview Lab

Preview with #07381F

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

Preview Lab → · Contrast checker → · Palette generator →

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