#174002#174002

#174002 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 32.9% C 0.099 H 137.8°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#174002
RGBrgb(23, 64, 2)
HSLhsl(100, 94%, 13%)
HSVhsv(100, 97%, 25%)
CMYKcmyk(64.1%, 0%, 96.9%, 74.9%)
CIE-LABlab(23.18, -26.44, 30.16)
CIE-LCHlch(23.18, 40.11, 131.23°)
OKLaboklab(32.91% -0.0733 0.0665)
OKLCHoklch(32.91% 0.099 137.8)
XYZxyz(2.1976, 3.8531, 0.6853)
Luminance0.0385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174002 #2B0240
analogous
#364002 #174002 #02400C
triadic
#174002 #021740 #400217
tetradic
#174002 #023640 #2B0240 #400C02
square
#174002 #023640 #2B0240 #400C02
split-complementary
#174002 #0C0240 #400236
monochromatic
#0B1E01 #0B1E01 #174002 #2C7B04 #42B706

Accessibility & contrast

On white

11.86
#174002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#174002 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174002
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174002#FFFFFF#000000##FFFFFF
##1740021.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3D3609
Tritanopia (blue-blind)
#133D35
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #174002;
/* rgb */ color: rgb(23, 64, 2);
/* oklch */ color: oklch(32.9% 0.099 137.8);
Tailwind
colors: {
  custom: {
    50: '#5a7549',
    500: '#174002',
    950: '#000000',
  },
}
SCSS
$custom: #174002;
$custom-light: #5a7549;
$custom-dark: #000000;
JSON
{
  "hex": "#174002",
  "rgb": {
    "r": 23,
    "g": 64,
    "b": 2
  },
  "hsl": {
    "h": 99.677,
    "s": 93.939,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32906,
    "c": 0.09899,
    "h": 137.8
  },
  "luminance": 0.03853
}

Semantic roles & 50–950 ramp

primary
#174002
secondary
#601B83
accent
#29FFB6
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #174002

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

Preview Lab → · Contrast checker → · Palette generator →

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