#122902#122902

#122902 is a dark, moderate yellow-green. Relative luminance 0.017; OKLCH L 25.2% C 0.070 H 134.9°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#122902
RGBrgb(18, 41, 2)
HSLhsl(95, 91%, 8%)
HSVhsv(95, 95%, 16%)
CMYKcmyk(56.1%, 0%, 95.1%, 83.9%)
CIE-LABlab(13.94, -17.56, 19.26)
CIE-LCHlch(13.94, 26.06, 132.37°)
OKLaboklab(25.22% -0.0493 0.0495)
OKLCHoklch(25.22% 0.07 134.9)
XYZxyz(1.0533, 1.7188, 0.3337)
Luminance0.0172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122902 #190229
analogous
#252902 #122902 #022905
triadic
#122902 #021229 #290212
tetradic
#122902 #022529 #190229 #290502
square
#122902 #022529 #190229 #290502
split-complementary
#122902 #050229 #290225
monochromatic
#0D1D01 #0D1D01 #122902 #2C6305 #459E08

Accessibility & contrast

On white

15.63
#122902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#122902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122902
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122902#FFFFFF#000000##FFFFFF
##1229021.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2500
Deuteranopia (green-blind)
#282305
Tritanopia (blue-blind)
#112721
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #122902;
/* rgb */ color: rgb(18, 41, 2);
/* oklch */ color: oklch(25.2% 0.070 134.9);
Tailwind
colors: {
  custom: {
    50: '#516347',
    500: '#122902',
    950: '#000000',
  },
}
SCSS
$custom: #122902;
$custom-light: #516347;
$custom-dark: #000000;
JSON
{
  "hex": "#122902",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 2
  },
  "hsl": {
    "h": 95.385,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25224,
    "c": 0.06981,
    "h": 134.9
  },
  "luminance": 0.01719
}

Semantic roles & 50–950 ramp

primary
#122902
secondary
#4B196E
accent
#29FFA7
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020500
muted
#787977

Preview Lab

Preview with #122902

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

Preview Lab → · Contrast checker → · Palette generator →

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