#12290E#12290E

#12290E is a dark, muted green. Relative luminance 0.017; OKLCH L 25.4% C 0.056 H 140.8°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#12290E
RGBrgb(18, 41, 14)
HSLhsl(111, 49%, 11%)
HSVhsv(111, 66%, 16%)
CMYKcmyk(56.1%, 0%, 65.9%, 83.9%)
CIE-LABlab(14.09, -15.88, 14.38)
CIE-LCHlch(14.09, 21.43, 137.84°)
OKLaboklab(25.4% -0.0434 0.0355)
OKLCHoklch(25.4% 0.056 140.8)
XYZxyz(1.1216, 1.7461, 0.6933)
Luminance0.0175 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12290E #250E29
analogous
#1F290E #12290E #0E2917
triadic
#12290E #0E1229 #290E12
tetradic
#12290E #0E1F29 #250E29 #29170E
square
#12290E #0E1F29 #250E29 #29170E
split-complementary
#12290E #170E29 #290E1F
monochromatic
#0A1708 #0A1708 #12290E #26571E #3A842D

Accessibility & contrast

On white

15.56
#12290E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#12290E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12290E
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12290E#FFFFFF#000000##FFFFFF
##12290E1.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A250C
Deuteranopia (green-blind)
#272310
Tritanopia (blue-blind)
#102823
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #12290e;
/* rgb */ color: rgb(18, 41, 14);
/* oklch */ color: oklch(25.4% 0.056 140.8);
Tailwind
colors: {
  custom: {
    50: '#51634d',
    500: '#12290e',
    950: '#000000',
  },
}
SCSS
$custom: #12290e;
$custom-light: #51634d;
$custom-dark: #000000;
JSON
{
  "hex": "#12290e",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 14
  },
  "hsl": {
    "h": 111.111,
    "s": 49.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.25404,
    "c": 0.05605,
    "h": 140.8
  },
  "luminance": 0.01746
}

Semantic roles & 50–950 ramp

primary
#12290E
secondary
#5B3063
accent
#4FD9C4
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#020501
muted
#787977

Preview Lab

Preview with #12290E

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

Preview Lab → · Contrast checker → · Palette generator →

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