#112C02#112C02

#112C02 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.2% C 0.075 H 136.4°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#112C02
RGBrgb(17, 44, 2)
HSLhsl(99, 91%, 9%)
HSVhsv(99, 95%, 17%)
CMYKcmyk(61.4%, 0%, 95.5%, 82.7%)
CIE-LABlab(15.09, -19.45, 20.74)
CIE-LCHlch(15.09, 28.43, 133.17°)
OKLaboklab(26.16% -0.0542 0.0516)
OKLCHoklch(26.16% 0.075 136.4)
XYZxyz(1.1428, 1.9248, 0.3687)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112C02 #1D022C
analogous
#262C02 #112C02 #022C08
triadic
#112C02 #02112C #2C0211
tetradic
#112C02 #02262C #1D022C #2C0802
square
#112C02 #02262C #1D022C #2C0802
split-complementary
#112C02 #08022C #2C0226
monochromatic
#0B1D01 #0B1D01 #112C02 #286705 #3EA107

Accessibility & contrast

On white

15.16
#112C02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#112C02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112C02
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112C02#FFFFFF#000000##FFFFFF
##112C021.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2A2505
Tritanopia (blue-blind)
#102A24
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #112c02;
/* rgb */ color: rgb(17, 44, 2);
/* oklch */ color: oklch(26.2% 0.075 136.4);
Tailwind
colors: {
  custom: {
    50: '#526547',
    500: '#112c02',
    950: '#000000',
  },
}
SCSS
$custom: #112c02;
$custom-light: #526547;
$custom-dark: #000000;
JSON
{
  "hex": "#112c02",
  "rgb": {
    "r": 17,
    "g": 44,
    "b": 2
  },
  "hsl": {
    "h": 98.571,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.26156,
    "c": 0.07486,
    "h": 136.4
  },
  "luminance": 0.01925
}

Semantic roles & 50–950 ramp

primary
#112C02
secondary
#511971
accent
#29FFB2
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020500
muted
#787A77

Preview Lab

Preview with #112C02

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

Preview Lab → · Contrast checker → · Palette generator →

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