#162F02#162F02

#162F02 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.4% C 0.076 H 134.4°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#162F02
RGBrgb(22, 47, 2)
HSLhsl(93, 92%, 10%)
HSVhsv(93, 96%, 18%)
CMYKcmyk(53.2%, 0%, 95.7%, 81.6%)
CIE-LABlab(16.54, -18.93, 22.63)
CIE-LCHlch(16.54, 29.50, 129.92°)
OKLaboklab(27.43% -0.0532 0.0544)
OKLCHoklch(27.43% 0.076 134.4)
XYZxyz(1.3583, 2.2079, 0.4120)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F02 #1B022F
analogous
#2D2F02 #162F02 #022F04
triadic
#162F02 #02162F #2F0216
tetradic
#162F02 #022D2F #1B022F #2F0402
square
#162F02 #022D2F #1B022F #2F0402
split-complementary
#162F02 #04022F #2F022D
monochromatic
#0E1D01 #0E1D01 #162F02 #316A04 #4DA407

Accessibility & contrast

On white

14.57
#162F02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162F02
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F02#FFFFFF#000000##FFFFFF
##162F021.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#2E2806
Tritanopia (blue-blind)
#162D27
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #162f02;
/* rgb */ color: rgb(22, 47, 2);
/* oklch */ color: oklch(27.4% 0.076 134.4);
Tailwind
colors: {
  custom: {
    50: '#566848',
    500: '#162f02',
    950: '#000000',
  },
}
SCSS
$custom: #162f02;
$custom-light: #566848;
$custom-dark: #000000;
JSON
{
  "hex": "#162f02",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 2
  },
  "hsl": {
    "h": 93.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27425,
    "c": 0.07612,
    "h": 134.4
  },
  "luminance": 0.02208
}

Semantic roles & 50–950 ramp

primary
#162F02
secondary
#4B1974
accent
#29FFA0
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #162F02

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

Preview Lab → · Contrast checker → · Palette generator →

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