#112B02#112B02

#112B02 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 25.8% C 0.073 H 136.2°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#112B02
RGBrgb(17, 43, 2)
HSLhsl(98, 91%, 9%)
HSVhsv(98, 95%, 17%)
CMYKcmyk(60.5%, 0%, 95.3%, 83.1%)
CIE-LABlab(14.69, -18.96, 20.22)
CIE-LCHlch(14.69, 27.72, 133.16°)
OKLaboklab(25.83% -0.0529 0.0509)
OKLCHoklch(25.83% 0.073 136.2)
XYZxyz(1.1060, 1.8512, 0.3565)
Luminance0.0185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112B02 #1C022B
analogous
#262B02 #112B02 #022B08
triadic
#112B02 #02112B #2B0211
tetradic
#112B02 #02262B #1C022B #2B0802
square
#112B02 #02262B #1C022B #2B0802
split-complementary
#112B02 #08022B #2B0226
monochromatic
#0C1D01 #0C1D01 #112B02 #286505 #3FA007

Accessibility & contrast

On white

15.33
#112B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#112B02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112B02
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112B02#FFFFFF#000000##FFFFFF
##112B021.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2600
Deuteranopia (green-blind)
#2A2405
Tritanopia (blue-blind)
#102923
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #112b02;
/* rgb */ color: rgb(17, 43, 2);
/* oklch */ color: oklch(25.8% 0.073 136.2);
Tailwind
colors: {
  custom: {
    50: '#516447',
    500: '#112b02',
    950: '#000000',
  },
}
SCSS
$custom: #112b02;
$custom-light: #516447;
$custom-dark: #000000;
JSON
{
  "hex": "#112b02",
  "rgb": {
    "r": 17,
    "g": 43,
    "b": 2
  },
  "hsl": {
    "h": 98.049,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.25825,
    "c": 0.07341,
    "h": 136.2
  },
  "luminance": 0.01851
}

Semantic roles & 50–950 ramp

primary
#112B02
secondary
#501970
accent
#29FFB1
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020500
muted
#787A77

Preview Lab

Preview with #112B02

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

Preview Lab → · Contrast checker → · Palette generator →

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