#122E02#122E02

#122E02 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 26.9% C 0.077 H 136.4°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#122E02
RGBrgb(18, 46, 2)
HSLhsl(98, 92%, 9%)
HSVhsv(98, 96%, 18%)
CMYKcmyk(60.9%, 0%, 95.7%, 82%)
CIE-LABlab(15.94, -20.04, 21.83)
CIE-LCHlch(15.94, 29.63, 132.55°)
OKLaboklab(26.87% -0.0559 0.0532)
OKLCHoklch(26.87% 0.077 136.4)
XYZxyz(1.2374, 2.0869, 0.3950)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E02 #1E022E
analogous
#282E02 #122E02 #022E08
triadic
#122E02 #02122E #2E0212
tetradic
#122E02 #02282E #1E022E #2E0802
square
#122E02 #02282E #1E022E #2E0802
split-complementary
#122E02 #08022E #2E0228
monochromatic
#0B1D01 #0B1D01 #122E02 #296905 #40A307

Accessibility & contrast

On white

14.82
#122E02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#122E02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122E02
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E02#FFFFFF#000000##FFFFFF
##122E021.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2C2706
Tritanopia (blue-blind)
#102C26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #122e02;
/* rgb */ color: rgb(18, 46, 2);
/* oklch */ color: oklch(26.9% 0.077 136.4);
Tailwind
colors: {
  custom: {
    50: '#536748',
    500: '#122e02',
    950: '#000000',
  },
}
SCSS
$custom: #122e02;
$custom-light: #536748;
$custom-dark: #000000;
JSON
{
  "hex": "#122e02",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 2
  },
  "hsl": {
    "h": 98.182,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26869,
    "c": 0.07715,
    "h": 136.4
  },
  "luminance": 0.02087
}

Semantic roles & 50–950 ramp

primary
#122E02
secondary
#521973
accent
#29FFB1
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #122E02

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

Preview Lab → · Contrast checker → · Palette generator →

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