#122E01#122E01

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

Color values

HEX#122E01
RGBrgb(18, 46, 1)
HSLhsl(97, 96%, 9%)
HSVhsv(97, 98%, 18%)
CMYKcmyk(60.9%, 0%, 97.8%, 82%)
CIE-LABlab(15.93, -20.16, 22.22)
CIE-LCHlch(15.93, 30.00, 132.22°)
OKLaboklab(26.86% -0.0564 0.0543)
OKLCHoklch(26.86% 0.078 136.1)
XYZxyz(1.2319, 2.0847, 0.3662)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E01 #1D012E
analogous
#292E01 #122E01 #012E06
triadic
#122E01 #01122E #2E0112
tetradic
#122E01 #01292E #1D012E #2E0601
square
#122E01 #01292E #1D012E #2E0601
split-complementary
#122E01 #06012E #2E0129
monochromatic
#0C1E01 #0C1E01 #122E01 #296A02 #41A604

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##122E01#FFFFFF#000000##FFFFFF
##122E011.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)
#2C2705
Tritanopia (blue-blind)
#112C26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #122e01;
/* rgb */ color: rgb(18, 46, 1);
/* oklch */ color: oklch(26.9% 0.078 136.1);
Tailwind
colors: {
  custom: {
    50: '#536747',
    500: '#122e01',
    950: '#000000',
  },
}
SCSS
$custom: #122e01;
$custom-light: #536747;
$custom-dark: #000000;
JSON
{
  "hex": "#122e01",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 1
  },
  "hsl": {
    "h": 97.333,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26856,
    "c": 0.07827,
    "h": 136.1
  },
  "luminance": 0.02085
}

Semantic roles & 50–950 ramp

primary
#122E01
secondary
#511774
accent
#29FFAE
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #122E01

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

Preview Lab → · Contrast checker → · Palette generator →

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