#112A01#112A01

#112A01 is a dark, moderate yellow-green. Relative luminance 0.018; OKLCH L 25.5% C 0.073 H 135.5°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#112A01
RGBrgb(17, 42, 1)
HSLhsl(97, 95%, 8%)
HSVhsv(97, 98%, 16%)
CMYKcmyk(59.5%, 0%, 97.6%, 83.5%)
CIE-LABlab(14.27, -18.61, 20.09)
CIE-LCHlch(14.27, 27.39, 132.81°)
OKLaboklab(25.48% -0.0521 0.0513)
OKLCHoklch(25.48% 0.073 135.5)
XYZxyz(1.0646, 1.7772, 0.3157)
Luminance0.0178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112A01 #1A012A
analogous
#252A01 #112A01 #012A05
triadic
#112A01 #01112A #2A0111
tetradic
#112A01 #01252A #1A012A #2A0501
square
#112A01 #01252A #1A012A #2A0501
split-complementary
#112A01 #05012A #2A0125
monochromatic
#0C1E01 #0C1E01 #112A01 #296602 #41A204

Accessibility & contrast

On white

15.49
#112A01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#112A01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112A01
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112A01#FFFFFF#000000##FFFFFF
##112A011.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2500
Deuteranopia (green-blind)
#292304
Tritanopia (blue-blind)
#102822
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #112a01;
/* rgb */ color: rgb(17, 42, 1);
/* oklch */ color: oklch(25.5% 0.073 135.5);
Tailwind
colors: {
  custom: {
    50: '#516447',
    500: '#112a01',
    950: '#000000',
  },
}
SCSS
$custom: #112a01;
$custom-light: #516447;
$custom-dark: #000000;
JSON
{
  "hex": "#112a01",
  "rgb": {
    "r": 17,
    "g": 42,
    "b": 1
  },
  "hsl": {
    "h": 96.585,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.2548,
    "c": 0.07317,
    "h": 135.5
  },
  "luminance": 0.01777
}

Semantic roles & 50–950 ramp

primary
#112A01
secondary
#4D1670
accent
#29FFAB
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020500
muted
#787977

Preview Lab

Preview with #112A01

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

Preview Lab → · Contrast checker → · Palette generator →

#112A01 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva