#122906#122906

#122906 is a dark, moderate yellow-green. Relative luminance 0.017; OKLCH L 25.3% C 0.065 H 136.6°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#122906
RGBrgb(18, 41, 6)
HSLhsl(99, 74%, 9%)
HSVhsv(99, 85%, 16%)
CMYKcmyk(56.1%, 0%, 85.4%, 83.9%)
CIE-LABlab(13.99, -17.01, 17.69)
CIE-LCHlch(13.99, 24.55, 133.88°)
OKLaboklab(25.28% -0.0472 0.0446)
OKLCHoklch(25.28% 0.065 136.6)
XYZxyz(1.0752, 1.7276, 0.4491)
Luminance0.0173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122906 #1D0629
analogous
#242906 #122906 #06290C
triadic
#122906 #061229 #290612
tetradic
#122906 #062429 #1D0629 #290C06
square
#122906 #062429 #1D0629 #290C06
split-complementary
#122906 #0C0629 #290624
monochromatic
#0C1B04 #0C1B04 #122906 #295E0E #419416

Accessibility & contrast

On white

15.61
#122906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122906
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122906#FFFFFF#000000##FFFFFF
##1229061.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2503
Deuteranopia (green-blind)
#282309
Tritanopia (blue-blind)
#112722
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #122906;
/* rgb */ color: rgb(18, 41, 6);
/* oklch */ color: oklch(25.3% 0.065 136.6);
Tailwind
colors: {
  custom: {
    50: '#516349',
    500: '#122906',
    950: '#000000',
  },
}
SCSS
$custom: #122906;
$custom-light: #516349;
$custom-dark: #000000;
JSON
{
  "hex": "#122906",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 6
  },
  "hsl": {
    "h": 99.429,
    "s": 74.468,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25281,
    "c": 0.06496,
    "h": 136.6
  },
  "luminance": 0.01728
}

Semantic roles & 50–950 ramp

primary
#122906
secondary
#51216A
accent
#37F1B1
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#020501
muted
#787977

Preview Lab

Preview with #122906

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

Preview Lab → · Contrast checker → · Palette generator →

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