#162B02#162B02

#162B02 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.1% C 0.070 H 132.8°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#162B02
RGBrgb(22, 43, 2)
HSLhsl(91, 91%, 9%)
HSVhsv(91, 95%, 17%)
CMYKcmyk(48.8%, 0%, 95.3%, 83.1%)
CIE-LABlab(14.97, -16.87, 20.64)
CIE-LCHlch(14.97, 26.66, 129.26°)
OKLaboklab(26.13% -0.0477 0.0515)
OKLCHoklch(26.13% 0.07 132.8)
XYZxyz(1.2057, 1.9027, 0.3611)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B02 #17022B
analogous
#2B2B02 #162B02 #022B03
triadic
#162B02 #02162B #2B0216
tetradic
#162B02 #022B2B #17022B #2B0302
square
#162B02 #022B2B #17022B #2B0302
split-complementary
#162B02 #03022B #2B022B
monochromatic
#0F1D01 #0F1D01 #162B02 #346505 #52A007

Accessibility & contrast

On white

15.21
#162B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#162B02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B02
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B02#FFFFFF#000000##FFFFFF
##162B021.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2700
Deuteranopia (green-blind)
#2A2505
Tritanopia (blue-blind)
#162923
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #162b02;
/* rgb */ color: rgb(22, 43, 2);
/* oklch */ color: oklch(26.1% 0.070 132.8);
Tailwind
colors: {
  custom: {
    50: '#556447',
    500: '#162b02',
    950: '#000000',
  },
}
SCSS
$custom: #162b02;
$custom-light: #556447;
$custom-dark: #000000;
JSON
{
  "hex": "#162b02",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 2
  },
  "hsl": {
    "h": 90.732,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.26133,
    "c": 0.07019,
    "h": 132.8
  },
  "luminance": 0.01903
}

Semantic roles & 50–950 ramp

primary
#162B02
secondary
#451970
accent
#29FF97
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #162B02

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

Preview Lab → · Contrast checker → · Palette generator →

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