#122702#122702

#122702 is a very dark, moderate yellow-green. Relative luminance 0.016; OKLCH L 24.6% C 0.067 H 134.1°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#122702
RGBrgb(18, 39, 2)
HSLhsl(94, 90%, 8%)
HSVhsv(94, 95%, 15%)
CMYKcmyk(53.8%, 0%, 94.9%, 84.7%)
CIE-LABlab(13.13, -16.53, 18.19)
CIE-LCHlch(13.13, 24.58, 132.26°)
OKLaboklab(24.56% -0.0465 0.0479)
OKLCHoklch(24.56% 0.067 134.1)
XYZxyz(0.9859, 1.5840, 0.3112)
Luminance0.0158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122702 #170227
analogous
#242702 #122702 #022704
triadic
#122702 #021227 #270212
tetradic
#122702 #022427 #170227 #270402
square
#122702 #022427 #170227 #270402
split-complementary
#122702 #040227 #270224
monochromatic
#0D1D01 #0D1D01 #122702 #2D6105 #489B08

Accessibility & contrast

On white

15.95
#122702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#122702 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122702
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122702#FFFFFF#000000##FFFFFF
##1227021.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292300
Deuteranopia (green-blind)
#262105
Tritanopia (blue-blind)
#122520
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #122702;
/* rgb */ color: rgb(18, 39, 2);
/* oklch */ color: oklch(24.6% 0.067 134.1);
Tailwind
colors: {
  custom: {
    50: '#516147',
    500: '#122702',
    950: '#000000',
  },
}
SCSS
$custom: #122702;
$custom-light: #516147;
$custom-dark: #000000;
JSON
{
  "hex": "#122702",
  "rgb": {
    "r": 18,
    "g": 39,
    "b": 2
  },
  "hsl": {
    "h": 94.054,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.24563,
    "c": 0.06677,
    "h": 134.1
  },
  "luminance": 0.01584
}

Semantic roles & 50–950 ramp

primary
#122702
secondary
#48186C
accent
#29FFA2
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020500
muted
#787977

Preview Lab

Preview with #122702

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

Preview Lab → · Contrast checker → · Palette generator →

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