#07270C#07270C

#07270C is a very dark, moderate green. Relative luminance 0.015; OKLCH L 24.1% C 0.062 H 146.2°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#07270C
RGBrgb(7, 39, 12)
HSLhsl(129, 70%, 9%)
HSVhsv(129, 82%, 15%)
CMYKcmyk(82.1%, 0%, 69.2%, 84.7%)
CIE-LABlab(12.75, -18.96, 13.47)
CIE-LCHlch(12.75, 23.26, 144.61°)
OKLaboklab(24.15% -0.0512 0.0343)
OKLCHoklch(24.15% 0.062 146.2)
XYZxyz(0.8794, 1.5227, 0.5953)
Luminance0.0152 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07270C #270722
analogous
#122707 #07270C #07271C
triadic
#07270C #0C0727 #270C07
tetradic
#07270C #071227 #270722 #271C07
square
#07270C #071227 #270722 #271C07
split-complementary
#07270C #1C0727 #270712
monochromatic
#051A08 #051A08 #07270C #105B1C #1A8F2C

Accessibility & contrast

On white

16.10
#07270C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#07270C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07270C
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07270C#FFFFFF#000000##FFFFFF
##07270C1.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282309
Deuteranopia (green-blind)
#24200E
Tritanopia (blue-blind)
#012621
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #07270c;
/* rgb */ color: rgb(7, 39, 12);
/* oklch */ color: oklch(24.1% 0.062 146.2);
Tailwind
colors: {
  custom: {
    50: '#4b614c',
    500: '#07270c',
    950: '#000000',
  },
}
SCSS
$custom: #07270c;
$custom-light: #4b614c;
$custom-dark: #000000;
JSON
{
  "hex": "#07270c",
  "rgb": {
    "r": 7,
    "g": 39,
    "b": 12
  },
  "hsl": {
    "h": 129.375,
    "s": 69.565,
    "l": 9.02
  },
  "oklch": {
    "l": 0.2415,
    "c": 0.06162,
    "h": 146.2
  },
  "luminance": 0.01523
}

Semantic roles & 50–950 ramp

primary
#07270C
secondary
#66235C
accent
#3BD1EC
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010501
muted
#777977

Preview Lab

Preview with #07270C

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

Preview Lab → · Contrast checker → · Palette generator →

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