#17852A#17852A

#17852A is a mid, vivid green. Relative luminance 0.171; OKLCH L 53.9% C 0.159 H 145.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#17852A
RGBrgb(23, 133, 42)
HSLhsl(130, 71%, 31%)
HSVhsv(130, 83%, 52%)
CMYKcmyk(82.7%, 0%, 68.4%, 47.8%)
CIE-LABlab(48.41, -48.43, 39.38)
CIE-LCHlch(48.41, 62.42, 140.88°)
OKLaboklab(53.94% -0.1306 0.0911)
OKLCHoklch(53.94% 0.159 145.1)
XYZxyz(9.1581, 17.1233, 5.0125)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17852A #851772
analogous
#3B8517 #17852A #178561
triadic
#17852A #2A1785 #852A17
tetradic
#17852A #173B85 #851772 #856117
square
#17852A #173B85 #851772 #856117
split-complementary
#17852A #611785 #85173B
monochromatic
#051D09 #0E511A #17852A #20B93A #3ADD56

Accessibility & contrast

On white

4.75
#17852A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#17852A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17852A
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17852A#FFFFFF#000000##FFFFFF
##17852A1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87781E
Deuteranopia (green-blind)
#7B7032
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #17852a;
/* rgb */ color: rgb(23, 133, 42);
/* oklch */ color: oklch(53.9% 0.159 145.1);
Tailwind
colors: {
  custom: {
    50: '#6aaa68',
    500: '#17852a',
    950: '#000000',
  },
}
SCSS
$custom: #17852a;
$custom-light: #6aaa68;
$custom-dark: #000000;
JSON
{
  "hex": "#17852a",
  "rgb": {
    "r": 23,
    "g": 133,
    "b": 42
  },
  "hsl": {
    "h": 130.364,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53936,
    "c": 0.15921,
    "h": 145.1
  },
  "luminance": 0.17124
}

Semantic roles & 50–950 ramp

primary
#17852A
secondary
#B93FA4
accent
#3BCEED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #17852A

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

Preview Lab → · Contrast checker → · Palette generator →

#17852A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva