#163904#163904

#163904 is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 30.7% C 0.088 H 137.5°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#163904
RGBrgb(22, 57, 4)
HSLhsl(100, 87%, 12%)
HSVhsv(100, 93%, 22%)
CMYKcmyk(61.4%, 0%, 93%, 77.6%)
CIE-LABlab(20.46, -23.50, 26.43)
CIE-LCHlch(20.46, 35.36, 131.64°)
OKLaboklab(30.66% -0.0652 0.0598)
OKLCHoklch(30.66% 0.088 137.5)
XYZxyz(1.8159, 3.1055, 0.6186)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163904 #270439
analogous
#313904 #163904 #04390D
triadic
#163904 #041639 #390416
tetradic
#163904 #043139 #270439 #390D04
square
#163904 #043139 #270439 #390D04
split-complementary
#163904 #0D0439 #390431
monochromatic
#0B1D02 #0B1D02 #163904 #2C7208 #42AB0C

Accessibility & contrast

On white

12.95
#163904 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#163904 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163904
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163904#FFFFFF#000000##FFFFFF
##1639041.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3300
Deuteranopia (green-blind)
#373009
Tritanopia (blue-blind)
#13372F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #163904;
/* rgb */ color: rgb(22, 57, 4);
/* oklch */ color: oklch(30.7% 0.088 137.5);
Tailwind
colors: {
  custom: {
    50: '#587049',
    500: '#163904',
    950: '#000000',
  },
}
SCSS
$custom: #163904;
$custom-light: #587049;
$custom-dark: #000000;
JSON
{
  "hex": "#163904",
  "rgb": {
    "r": 22,
    "g": 57,
    "b": 4
  },
  "hsl": {
    "h": 99.623,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30656,
    "c": 0.08849,
    "h": 137.5
  },
  "luminance": 0.03106
}

Semantic roles & 50–950 ramp

primary
#163904
secondary
#5B1E7B
accent
#2BFDB6
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #163904

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

Preview Lab → · Contrast checker → · Palette generator →

#163904 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva