#072F08#072F08

#072F08 is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.8% C 0.078 H 143.4°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#072F08
RGBrgb(7, 47, 8)
HSLhsl(122, 74%, 11%)
HSVhsv(122, 85%, 18%)
CMYKcmyk(85.1%, 0%, 83%, 81.6%)
CIE-LABlab(15.98, -23.13, 19.35)
CIE-LCHlch(15.98, 30.16, 140.09°)
OKLaboklab(26.81% -0.0627 0.0466)
OKLCHoklch(26.81% 0.078 143.4)
XYZxyz(1.1479, 2.0956, 0.5737)
Luminance0.0210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072F08 #2F072E
analogous
#1A2F07 #072F08 #072F1C
triadic
#072F08 #08072F #2F0807
tetradic
#072F08 #071A2F #2F072E #2F1C07
square
#072F08 #071A2F #2F072E #2F1C07
split-complementary
#072F08 #1C072F #2F071A
monochromatic
#041B05 #041B05 #072F08 #0F6411 #179A1A

Accessibility & contrast

On white

14.80
#072F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#072F08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072F08
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072F08#FFFFFF#000000##FFFFFF
##072F081.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A04
Deuteranopia (green-blind)
#2C260C
Tritanopia (blue-blind)
#002D27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #072f08;
/* rgb */ color: rgb(7, 47, 8);
/* oklch */ color: oklch(26.8% 0.078 143.4);
Tailwind
colors: {
  custom: {
    50: '#4d684a',
    500: '#072f08',
    950: '#000000',
  },
}
SCSS
$custom: #072f08;
$custom-light: #4d684a;
$custom-dark: #000000;
JSON
{
  "hex": "#072f08",
  "rgb": {
    "r": 7,
    "g": 47,
    "b": 8
  },
  "hsl": {
    "h": 121.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.26807,
    "c": 0.07817,
    "h": 143.4
  },
  "luminance": 0.02096
}

Semantic roles & 50–950 ramp

primary
#072F08
secondary
#6F236D
accent
#37ECF1
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #072F08

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

Preview Lab → · Contrast checker → · Palette generator →

#072F08 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva