#112A04#112A04

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

Color values

HEX#112A04
RGBrgb(17, 42, 4)
HSLhsl(99, 83%, 9%)
HSVhsv(99, 90%, 16%)
CMYKcmyk(59.5%, 0%, 90.5%, 83.5%)
CIE-LABlab(14.31, -18.20, 18.92)
CIE-LCHlch(14.31, 26.25, 133.89°)
OKLaboklab(25.52% -0.0506 0.0477)
OKLCHoklch(25.52% 0.07 136.7)
XYZxyz(1.0810, 1.7838, 0.4022)
Luminance0.0178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112A04 #1D042A
analogous
#242A04 #112A04 #042A0A
triadic
#112A04 #04112A #2A0411
tetradic
#112A04 #04242A #1D042A #2A0A04
square
#112A04 #04242A #1D042A #2A0A04
split-complementary
#112A04 #0A042A #2A0424
monochromatic
#0B1C03 #0B1C03 #112A04 #286209 #3E9A0F

Accessibility & contrast

On white

15.48
#112A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #112A04
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112A04#FFFFFF#000000##FFFFFF
##112A041.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2600
Deuteranopia (green-blind)
#292307
Tritanopia (blue-blind)
#102823
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #112a04;
/* rgb */ color: rgb(17, 42, 4);
/* oklch */ color: oklch(25.5% 0.070 136.7);
Tailwind
colors: {
  custom: {
    50: '#516448',
    500: '#112a04',
    950: '#000000',
  },
}
SCSS
$custom: #112a04;
$custom-light: #516448;
$custom-dark: #000000;
JSON
{
  "hex": "#112a04",
  "rgb": {
    "r": 17,
    "g": 42,
    "b": 4
  },
  "hsl": {
    "h": 99.474,
    "s": 82.609,
    "l": 9.02
  },
  "oklch": {
    "l": 0.25523,
    "c": 0.06952,
    "h": 136.7
  },
  "luminance": 0.01784
}

Semantic roles & 50–950 ramp

primary
#112A04
secondary
#511D6D
accent
#2FF9B4
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020500
muted
#787977

Preview Lab

Preview with #112A04

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

Preview Lab → · Contrast checker → · Palette generator →

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