#122B06#122B06

#122B06 is a dark, moderate green. Relative luminance 0.019; OKLCH L 25.9% C 0.068 H 137.2°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#122B06
RGBrgb(18, 43, 6)
HSLhsl(101, 76%, 10%)
HSVhsv(101, 86%, 17%)
CMYKcmyk(58.1%, 0%, 86%, 83.1%)
CIE-LABlab(14.79, -18.04, 18.73)
CIE-LCHlch(14.79, 26.01, 133.92°)
OKLaboklab(25.94% -0.05 0.0464)
OKLCHoklch(25.94% 0.068 137.2)
XYZxyz(1.1462, 1.8694, 0.4727)
Luminance0.0187 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B06 #1F062B
analogous
#252B06 #122B06 #062B0D
triadic
#122B06 #06122B #2B0612
tetradic
#122B06 #06252B #1F062B #2B0D06
square
#122B06 #06252B #1F062B #2B0D06
split-complementary
#122B06 #0D062B #2B0625
monochromatic
#0B1B04 #0B1B04 #122B06 #28610D #3F9615

Accessibility & contrast

On white

15.28
#122B06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#122B06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B06
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B06#FFFFFF#000000##FFFFFF
##122B061.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2702
Deuteranopia (green-blind)
#292409
Tritanopia (blue-blind)
#112924
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #122b06;
/* rgb */ color: rgb(18, 43, 6);
/* oklch */ color: oklch(25.9% 0.068 137.2);
Tailwind
colors: {
  custom: {
    50: '#526449',
    500: '#122b06',
    950: '#000000',
  },
}
SCSS
$custom: #122b06;
$custom-light: #526449;
$custom-dark: #000000;
JSON
{
  "hex": "#122b06",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 6
  },
  "hsl": {
    "h": 100.541,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.25938,
    "c": 0.06818,
    "h": 137.2
  },
  "luminance": 0.0187
}

Semantic roles & 50–950 ramp

primary
#122B06
secondary
#53216C
accent
#36F2B5
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020501
muted
#787A77

Preview Lab

Preview with #122B06

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

Preview Lab → · Contrast checker → · Palette generator →

#122B06 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva