#112A02#112A02

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

Color values

HEX#112A02
RGBrgb(17, 42, 2)
HSLhsl(98, 91%, 9%)
HSVhsv(98, 95%, 16%)
CMYKcmyk(59.5%, 0%, 95.2%, 83.5%)
CIE-LABlab(14.28, -18.47, 19.70)
CIE-LCHlch(14.28, 27.01, 133.16°)
OKLaboklab(25.5% -0.0516 0.0501)
OKLCHoklch(25.5% 0.072 135.9)
XYZxyz(1.0701, 1.7794, 0.3445)
Luminance0.0178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112A02 #1B022A
analogous
#252A02 #112A02 #022A07
triadic
#112A02 #02112A #2A0211
tetradic
#112A02 #02252A #1B022A #2A0702
square
#112A02 #02252A #1B022A #2A0702
split-complementary
#112A02 #07022A #2A0225
monochromatic
#0C1D01 #0C1D01 #112A02 #296405 #409F08

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##112A02#FFFFFF#000000##FFFFFF
##112A021.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)
#292305
Tritanopia (blue-blind)
#102822
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #112a02;
/* rgb */ color: rgb(17, 42, 2);
/* oklch */ color: oklch(25.5% 0.072 135.9);
Tailwind
colors: {
  custom: {
    50: '#516447',
    500: '#112a02',
    950: '#000000',
  },
}
SCSS
$custom: #112a02;
$custom-light: #516447;
$custom-dark: #000000;
JSON
{
  "hex": "#112a02",
  "rgb": {
    "r": 17,
    "g": 42,
    "b": 2
  },
  "hsl": {
    "h": 97.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.25495,
    "c": 0.07193,
    "h": 135.9
  },
  "luminance": 0.01779
}

Semantic roles & 50–950 ramp

primary
#112A02
secondary
#4F196F
accent
#29FFAF
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020500
muted
#787977

Preview Lab

Preview with #112A02

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

Preview Lab → · Contrast checker → · Palette generator →

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