#162F08#162F08

#162F08 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.5% C 0.070 H 136.4°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#162F08
RGBrgb(22, 47, 8)
HSLhsl(98, 71%, 11%)
HSVhsv(98, 83%, 18%)
CMYKcmyk(53.2%, 0%, 83%, 81.6%)
CIE-LABlab(16.61, -18.24, 20.26)
CIE-LCHlch(16.61, 27.26, 131.99°)
OKLaboklab(27.5% -0.0506 0.0483)
OKLCHoklch(27.5% 0.07 136.4)
XYZxyz(1.3912, 2.2211, 0.5851)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F08 #21082F
analogous
#292F08 #162F08 #082F0D
triadic
#162F08 #08162F #2F0816
tetradic
#162F08 #08292F #21082F #2F0D08
square
#162F08 #08292F #21082F #2F0D08
split-complementary
#162F08 #0D082F #2F0829
monochromatic
#0C1A04 #0C1A04 #162F08 #2E6311 #47981A

Accessibility & contrast

On white

14.54
#162F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#162F08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F08
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F08#FFFFFF#000000##FFFFFF
##162F081.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A04
Deuteranopia (green-blind)
#2E280B
Tritanopia (blue-blind)
#152D27
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #162f08;
/* rgb */ color: rgb(22, 47, 8);
/* oklch */ color: oklch(27.5% 0.070 136.4);
Tailwind
colors: {
  custom: {
    50: '#55684b',
    500: '#162f08',
    950: '#000000',
  },
}
SCSS
$custom: #162f08;
$custom-light: #55684b;
$custom-dark: #000000;
JSON
{
  "hex": "#162f08",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 8
  },
  "hsl": {
    "h": 98.462,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.27498,
    "c": 0.06995,
    "h": 136.4
  },
  "luminance": 0.02221
}

Semantic roles & 50–950 ramp

primary
#162F08
secondary
#54256E
accent
#3AEEAD
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #162F08

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

Preview Lab → · Contrast checker → · Palette generator →

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