#122C02#122C02

#122C02 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.2% C 0.074 H 135.9°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#122C02
RGBrgb(18, 44, 2)
HSLhsl(97, 91%, 9%)
HSVhsv(97, 95%, 17%)
CMYKcmyk(59.1%, 0%, 95.5%, 82.7%)
CIE-LABlab(15.14, -19.06, 20.81)
CIE-LCHlch(15.14, 28.23, 132.49°)
OKLaboklab(26.21% -0.0533 0.0517)
OKLCHoklch(26.21% 0.074 135.9)
XYZxyz(1.1611, 1.9343, 0.3696)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C02 #1C022C
analogous
#272C02 #122C02 #022C07
triadic
#122C02 #02122C #2C0212
tetradic
#122C02 #02272C #1C022C #2C0702
square
#122C02 #02272C #1C022C #2C0702
split-complementary
#122C02 #07022C #2C0227
monochromatic
#0C1D01 #0C1D01 #122C02 #2A6705 #42A107

Accessibility & contrast

On white

15.14
#122C02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#122C02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122C02
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C02#FFFFFF#000000##FFFFFF
##122C021.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2B2505
Tritanopia (blue-blind)
#112A24
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #122c02;
/* rgb */ color: rgb(18, 44, 2);
/* oklch */ color: oklch(26.2% 0.074 135.9);
Tailwind
colors: {
  custom: {
    50: '#526547',
    500: '#122c02',
    950: '#000000',
  },
}
SCSS
$custom: #122c02;
$custom-light: #526547;
$custom-dark: #000000;
JSON
{
  "hex": "#122c02",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 2
  },
  "hsl": {
    "h": 97.143,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.26212,
    "c": 0.07425,
    "h": 135.9
  },
  "luminance": 0.01934
}

Semantic roles & 50–950 ramp

primary
#122C02
secondary
#4F1971
accent
#29FFAD
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020500
muted
#787A77

Preview Lab

Preview with #122C02

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

Preview Lab → · Contrast checker → · Palette generator →

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