#162E05#162E05

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

Color values

HEX#162E05
RGBrgb(22, 46, 5)
HSLhsl(95, 80%, 10%)
HSVhsv(95, 89%, 18%)
CMYKcmyk(52.2%, 0%, 89.1%, 82%)
CIE-LABlab(16.18, -18.07, 20.96)
CIE-LCHlch(16.18, 27.67, 130.77°)
OKLaboklab(27.14% -0.0505 0.0505)
OKLCHoklch(27.14% 0.071 135)
XYZxyz(1.3352, 2.1354, 0.4854)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E05 #1D052E
analogous
#2A2E05 #162E05 #052E09
triadic
#162E05 #05162E #2E0516
tetradic
#162E05 #052A2E #1D052E #2E0905
square
#162E05 #052A2E #1D052E #2E0905
split-complementary
#162E05 #09052E #2E052A
monochromatic
#0D1C03 #0D1C03 #162E05 #30650B #4B9C11

Accessibility & contrast

On white

14.71
#162E05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162E05
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E05#FFFFFF#000000##FFFFFF
##162E051.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302901
Deuteranopia (green-blind)
#2D2708
Tritanopia (blue-blind)
#152C26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #162e05;
/* rgb */ color: rgb(22, 46, 5);
/* oklch */ color: oklch(27.1% 0.071 135.0);
Tailwind
colors: {
  custom: {
    50: '#556749',
    500: '#162e05',
    950: '#000000',
  },
}
SCSS
$custom: #162e05;
$custom-light: #556749;
$custom-dark: #000000;
JSON
{
  "hex": "#162e05",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 5
  },
  "hsl": {
    "h": 95.122,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.2714,
    "c": 0.07141,
    "h": 135
  },
  "luminance": 0.02136
}

Semantic roles & 50–950 ramp

primary
#162E05
secondary
#4E1F70
accent
#31F7A5
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #162E05

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

Preview Lab → · Contrast checker → · Palette generator →

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