#122907#122907

#122907 is a dark, moderate green. Relative luminance 0.017; OKLCH L 25.3% C 0.064 H 137.1°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#122907
RGBrgb(18, 41, 7)
HSLhsl(101, 71%, 9%)
HSVhsv(101, 83%, 16%)
CMYKcmyk(56.1%, 0%, 82.9%, 83.9%)
CIE-LABlab(14.00, -16.88, 17.30)
CIE-LCHlch(14.00, 24.17, 134.29°)
OKLaboklab(25.3% -0.0467 0.0435)
OKLCHoklch(25.3% 0.064 137.1)
XYZxyz(1.0807, 1.7297, 0.4779)
Luminance0.0173 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122907 #1E0729
analogous
#232907 #122907 #07290D
triadic
#122907 #071229 #290712
tetradic
#122907 #072329 #1E0729 #290D07
square
#122907 #072329 #1E0729 #290D07
split-complementary
#122907 #0D0729 #290723
monochromatic
#0B1A04 #0B1A04 #122907 #295D10 #409219

Accessibility & contrast

On white

15.60
#122907 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#122907 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122907
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122907#FFFFFF#000000##FFFFFF
##1229071.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2504
Deuteranopia (green-blind)
#28230A
Tritanopia (blue-blind)
#112722
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #122907;
/* rgb */ color: rgb(18, 41, 7);
/* oklch */ color: oklch(25.3% 0.064 137.1);
Tailwind
colors: {
  custom: {
    50: '#51634a',
    500: '#122907',
    950: '#000000',
  },
}
SCSS
$custom: #122907;
$custom-light: #51634a;
$custom-dark: #000000;
JSON
{
  "hex": "#122907",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 7
  },
  "hsl": {
    "h": 100.588,
    "s": 70.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25296,
    "c": 0.06382,
    "h": 137.1
  },
  "luminance": 0.0173
}

Semantic roles & 50–950 ramp

primary
#122907
secondary
#522369
accent
#3AEEB4
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#020501
muted
#787977

Preview Lab

Preview with #122907

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

Preview Lab → · Contrast checker → · Palette generator →

#122907 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva