#162E04#162E04

#162E04 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.1% C 0.072 H 134.7°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#162E04
RGBrgb(22, 46, 4)
HSLhsl(94, 84%, 10%)
HSVhsv(94, 91%, 18%)
CMYKcmyk(52.2%, 0%, 91.3%, 82%)
CIE-LABlab(16.17, -18.19, 21.35)
CIE-LCHlch(16.17, 28.05, 130.43°)
OKLaboklab(27.13% -0.051 0.0515)
OKLCHoklch(27.13% 0.072 134.7)
XYZxyz(1.3298, 2.1333, 0.4565)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E04 #1C042E
analogous
#2B2E04 #162E04 #042E07
triadic
#162E04 #04162E #2E0416
tetradic
#162E04 #042B2E #1C042E #2E0704
square
#162E04 #042B2E #1C042E #2E0704
split-complementary
#162E04 #07042E #2E042B
monochromatic
#0D1C02 #0D1C02 #162E04 #316609 #4C9F0E

Accessibility & contrast

On white

14.72
#162E04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#162E04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E04
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E04#FFFFFF#000000##FFFFFF
##162E041.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2D2707
Tritanopia (blue-blind)
#162C26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #162e04;
/* rgb */ color: rgb(22, 46, 4);
/* oklch */ color: oklch(27.1% 0.072 134.7);
Tailwind
colors: {
  custom: {
    50: '#556749',
    500: '#162e04',
    950: '#000000',
  },
}
SCSS
$custom: #162e04;
$custom-light: #556749;
$custom-dark: #000000;
JSON
{
  "hex": "#162e04",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 4
  },
  "hsl": {
    "h": 94.286,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27127,
    "c": 0.07247,
    "h": 134.7
  },
  "luminance": 0.02133
}

Semantic roles & 50–950 ramp

primary
#162E04
secondary
#4D1D71
accent
#2EFAA3
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #162E04

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

Preview Lab → · Contrast checker → · Palette generator →

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