#122602#122602

#122602 is a very dark, moderate yellow-green. Relative luminance 0.015; OKLCH L 24.2% C 0.065 H 133.7°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#122602
RGBrgb(18, 38, 2)
HSLhsl(93, 90%, 8%)
HSVhsv(93, 95%, 15%)
CMYKcmyk(52.6%, 0%, 94.7%, 85.1%)
CIE-LABlab(12.73, -16.00, 17.65)
CIE-LCHlch(12.73, 23.82, 132.19°)
OKLaboklab(24.23% -0.0451 0.0472)
OKLCHoklch(24.23% 0.065 133.7)
XYZxyz(0.9535, 1.5192, 0.3004)
Luminance0.0152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122602 #160226
analogous
#242602 #122602 #022604
triadic
#122602 #021226 #260212
tetradic
#122602 #022426 #160226 #260402
square
#122602 #022426 #160226 #260402
split-complementary
#122602 #040226 #260224
monochromatic
#0E1D02 #0E1D02 #122602 #2E6005 #499A08

Accessibility & contrast

On white

16.11
#122602 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#122602 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122602
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122602#FFFFFF#000000##FFFFFF
##1226021.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282200
Deuteranopia (green-blind)
#252004
Tritanopia (blue-blind)
#12241F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #122602;
/* rgb */ color: rgb(18, 38, 2);
/* oklch */ color: oklch(24.2% 0.065 133.7);
Tailwind
colors: {
  custom: {
    50: '#516047',
    500: '#122602',
    950: '#000000',
  },
}
SCSS
$custom: #122602;
$custom-light: #516047;
$custom-dark: #000000;
JSON
{
  "hex": "#122602",
  "rgb": {
    "r": 18,
    "g": 38,
    "b": 2
  },
  "hsl": {
    "h": 93.333,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.24233,
    "c": 0.06524,
    "h": 133.7
  },
  "luminance": 0.01519
}

Semantic roles & 50–950 ramp

primary
#122602
secondary
#47186B
accent
#29FFA0
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020500
muted
#787977

Preview Lab

Preview with #122602

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

Preview Lab → · Contrast checker → · Palette generator →

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