#12570E#12570E

#12570E is a dark, vivid green. Relative luminance 0.070; OKLCH L 40.0% C 0.123 H 142.3°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#12570E
RGBrgb(18, 87, 14)
HSLhsl(117, 72%, 20%)
HSVhsv(117, 84%, 34%)
CMYKcmyk(79.3%, 0%, 83.9%, 65.9%)
CIE-LABlab(31.75, -35.82, 33.71)
CIE-LCHlch(31.75, 49.18, 136.74°)
OKLaboklab(39.99% -0.0974 0.0754)
OKLCHoklch(39.99% 0.123 142.3)
XYZxyz(3.7367, 6.9763, 1.5650)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12570E #530E57
analogous
#37570E #12570E #0E572E
triadic
#12570E #0E1257 #570E12
tetradic
#12570E #0E3757 #530E57 #572E0E
square
#12570E #0E3757 #530E57 #572E0E
split-complementary
#12570E #2E0E57 #570E37
monochromatic
#051A04 #072206 #12570E #1D8C16 #28C01F

Accessibility & contrast

On white

8.77
#12570E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#12570E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12570E
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12570E#FFFFFF#000000##FFFFFF
##12570E1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E00
Deuteranopia (green-blind)
#514916
Tritanopia (blue-blind)
#005449
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #12570e;
/* rgb */ color: rgb(18, 87, 14);
/* oklch */ color: oklch(40.0% 0.123 142.3);
Tailwind
colors: {
  custom: {
    50: '#5d8753',
    500: '#12570e',
    950: '#000000',
  },
}
SCSS
$custom: #12570e;
$custom-light: #5d8753;
$custom-dark: #000000;
JSON
{
  "hex": "#12570e",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 14
  },
  "hsl": {
    "h": 116.712,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39993,
    "c": 0.12322,
    "h": 142.3
  },
  "luminance": 0.06977
}

Semantic roles & 50–950 ramp

primary
#12570E
secondary
#8C3091
accent
#39EFE5
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050B03
muted
#797C78

Preview Lab

Preview with #12570E

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

Preview Lab → · Contrast checker → · Palette generator →

#12570E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva