#112D02#112D02

#112D02 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.5% C 0.076 H 136.7°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#112D02
RGBrgb(17, 45, 2)
HSLhsl(99, 91%, 9%)
HSVhsv(99, 96%, 18%)
CMYKcmyk(62.2%, 0%, 95.6%, 82.4%)
CIE-LABlab(15.49, -19.93, 21.25)
CIE-LCHlch(15.49, 29.14, 133.17°)
OKLaboklab(26.49% -0.0555 0.0524)
OKLCHoklch(26.49% 0.076 136.7)
XYZxyz(1.1805, 2.0002, 0.3813)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112D02 #1E022D
analogous
#272D02 #112D02 #022D09
triadic
#112D02 #02112D #2D0211
tetradic
#112D02 #02272D #1E022D #2D0902
square
#112D02 #02272D #1E022D #2D0902
split-complementary
#112D02 #09022D #2D0227
monochromatic
#0B1D01 #0B1D01 #112D02 #276805 #3DA207

Accessibility & contrast

On white

15.00
#112D02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#112D02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112D02
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112D02#FFFFFF#000000##FFFFFF
##112D021.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2B2605
Tritanopia (blue-blind)
#0F2B25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #112d02;
/* rgb */ color: rgb(17, 45, 2);
/* oklch */ color: oklch(26.5% 0.076 136.7);
Tailwind
colors: {
  custom: {
    50: '#526647',
    500: '#112d02',
    950: '#000000',
  },
}
SCSS
$custom: #112d02;
$custom-light: #526647;
$custom-dark: #000000;
JSON
{
  "hex": "#112d02",
  "rgb": {
    "r": 17,
    "g": 45,
    "b": 2
  },
  "hsl": {
    "h": 99.07,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26486,
    "c": 0.07632,
    "h": 136.7
  },
  "luminance": 0.02
}

Semantic roles & 50–950 ramp

primary
#112D02
secondary
#531972
accent
#29FFB4
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #112D02

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

Preview Lab → · Contrast checker → · Palette generator →

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