#122F01#122F01

#122F01 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.2% C 0.080 H 136.3°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#122F01
RGBrgb(18, 47, 1)
HSLhsl(98, 96%, 9%)
HSVhsv(98, 98%, 18%)
CMYKcmyk(61.7%, 0%, 97.9%, 81.6%)
CIE-LABlab(16.32, -20.64, 22.72)
CIE-LCHlch(16.32, 30.69, 132.25°)
OKLaboklab(27.18% -0.0576 0.055)
OKLCHoklch(27.18% 0.08 136.3)
XYZxyz(1.2714, 2.1637, 0.3794)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F01 #1E012F
analogous
#292F01 #122F01 #012F07
triadic
#122F01 #01122F #2F0112
tetradic
#122F01 #01292F #1E012F #2F0701
square
#122F01 #01292F #1E012F #2F0701
split-complementary
#122F01 #07012F #2F0129
monochromatic
#0B1E01 #0B1E01 #122F01 #296B02 #40A704

Accessibility & contrast

On white

14.66
#122F01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#122F01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122F01
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F01#FFFFFF#000000##FFFFFF
##122F011.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#2D2805
Tritanopia (blue-blind)
#102D26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #122f01;
/* rgb */ color: rgb(18, 47, 1);
/* oklch */ color: oklch(27.2% 0.080 136.3);
Tailwind
colors: {
  custom: {
    50: '#536847',
    500: '#122f01',
    950: '#000000',
  },
}
SCSS
$custom: #122f01;
$custom-light: #536847;
$custom-dark: #000000;
JSON
{
  "hex": "#122f01",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 1
  },
  "hsl": {
    "h": 97.826,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27184,
    "c": 0.07968,
    "h": 136.3
  },
  "luminance": 0.02164
}

Semantic roles & 50–950 ramp

primary
#122F01
secondary
#521775
accent
#29FFB0
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #122F01

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

Preview Lab → · Contrast checker → · Palette generator →

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