#162E08#162E08

#162E08 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.2% C 0.068 H 136.1°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#162E08
RGBrgb(22, 46, 8)
HSLhsl(98, 70%, 11%)
HSVhsv(98, 83%, 18%)
CMYKcmyk(52.2%, 0%, 82.6%, 82%)
CIE-LABlab(16.22, -17.72, 19.78)
CIE-LCHlch(16.22, 26.56, 131.86°)
OKLaboklab(27.18% -0.0492 0.0474)
OKLCHoklch(27.18% 0.068 136.1)
XYZxyz(1.3517, 2.1420, 0.5719)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E08 #20082E
analogous
#292E08 #162E08 #082E0D
triadic
#162E08 #08162E #2E0816
tetradic
#162E08 #08292E #20082E #2E0D08
square
#162E08 #08292E #20082E #2E0D08
split-complementary
#162E08 #0D082E #2E0829
monochromatic
#0C1A05 #0C1A05 #162E08 #2F6211 #48961A

Accessibility & contrast

On white

14.70
#162E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162E08
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E08#FFFFFF#000000##FFFFFF
##162E081.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162e08;
/* rgb */ color: rgb(22, 46, 8);
/* oklch */ color: oklch(27.2% 0.068 136.1);
Tailwind
colors: {
  custom: {
    50: '#55674a',
    500: '#162e08',
    950: '#000000',
  },
}
SCSS
$custom: #162e08;
$custom-light: #55674a;
$custom-dark: #000000;
JSON
{
  "hex": "#162e08",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 8
  },
  "hsl": {
    "h": 97.895,
    "s": 70.37,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27177,
    "c": 0.06833,
    "h": 136.1
  },
  "luminance": 0.02142
}

Semantic roles & 50–950 ramp

primary
#162E08
secondary
#52256D
accent
#3BEDAB
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #162E08

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

Preview Lab → · Contrast checker → · Palette generator →

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