#00270C#00270C

#00270C is a very dark, moderate green. Relative luminance 0.015; OKLCH L 23.8% C 0.066 H 149.7°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#00270C
RGBrgb(0, 39, 12)
HSLhsl(138, 100%, 8%)
HSVhsv(138, 100%, 15%)
CMYKcmyk(100%, 0%, 69.2%, 84.7%)
CIE-LABlab(12.46, -21.29, 13.03)
CIE-LCHlch(12.46, 24.96, 148.52°)
OKLaboklab(23.83% -0.0571 0.0334)
OKLCHoklch(23.83% 0.066 149.7)
XYZxyz(0.7918, 1.4775, 0.5912)
Luminance0.0148 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#00270C #27001B
analogous
#072700 #00270C #002720
triadic
#00270C #0C0027 #270C00
tetradic
#00270C #000727 #27001B #272000
square
#00270C #000727 #27001B #272000
split-complementary
#00270C #200027 #270007
monochromatic
#001F09 #001F09 #00270C #00641F #00A132

Accessibility & contrast

On white

16.21
#00270C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #00270C
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##00270C#FFFFFF#000000##FFFFFF
##00270C1.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27220A
Deuteranopia (green-blind)
#231F0E
Tritanopia (blue-blind)
#002621
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #00270c;
/* rgb */ color: rgb(0, 39, 12);
/* oklch */ color: oklch(23.8% 0.066 149.7);
Tailwind
colors: {
  custom: {
    50: '#47624c',
    500: '#00270c',
    950: '#000000',
  },
}
SCSS
$custom: #00270c;
$custom-light: #47624c;
$custom-dark: #000000;
JSON
{
  "hex": "#00270c",
  "rgb": {
    "r": 0,
    "g": 39,
    "b": 12
  },
  "hsl": {
    "h": 138.462,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.23829,
    "c": 0.06614,
    "h": 149.7
  },
  "luminance": 0.01478
}

Semantic roles & 50–950 ramp

primary
#00270C
secondary
#6F1453
accent
#29BDFF
background
#F4F5F4
surface
#E6EAE7
border
#C2C6C3
text
#000501
muted
#777977

Preview Lab

Preview with #00270C

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

Preview Lab → · Contrast checker → · Palette generator →

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