#172E04#172E04

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

Color values

HEX#172E04
RGBrgb(23, 46, 4)
HSLhsl(93, 84%, 10%)
HSVhsv(93, 91%, 18%)
CMYKcmyk(50%, 0%, 91.3%, 82%)
CIE-LABlab(16.23, -17.77, 21.44)
CIE-LCHlch(16.23, 27.84, 129.65°)
OKLaboklab(27.19% -0.0499 0.0516)
OKLCHoklch(27.19% 0.072 134)
XYZxyz(1.3522, 2.1448, 0.4576)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E04 #1B042E
analogous
#2C2E04 #172E04 #042E06
triadic
#172E04 #04172E #2E0417
tetradic
#172E04 #042C2E #1B042E #2E0604
square
#172E04 #042C2E #1B042E #2E0604
split-complementary
#172E04 #06042E #2E042C
monochromatic
#0E1C02 #0E1C02 #172E04 #336609 #4F9F0E

Accessibility & contrast

On white

14.70
#172E04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#172E04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172E04
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E04#FFFFFF#000000##FFFFFF
##172E041.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)
#302900
Deuteranopia (green-blind)
#2D2807
Tritanopia (blue-blind)
#172C26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #172e04;
/* rgb */ color: rgb(23, 46, 4);
/* oklch */ color: oklch(27.2% 0.072 134.0);
Tailwind
colors: {
  custom: {
    50: '#566749',
    500: '#172e04',
    950: '#000000',
  },
}
SCSS
$custom: #172e04;
$custom-light: #566749;
$custom-dark: #000000;
JSON
{
  "hex": "#172e04",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 4
  },
  "hsl": {
    "h": 92.857,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27191,
    "c": 0.07182,
    "h": 134
  },
  "luminance": 0.02145
}

Semantic roles & 50–950 ramp

primary
#172E04
secondary
#4B1D71
accent
#2EFA9E
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #172E04

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

Preview Lab → · Contrast checker → · Palette generator →

#172E04 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva