#175125#175125

#175125 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.094 H 148.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#175125
RGBrgb(23, 81, 37)
HSLhsl(134, 56%, 20%)
HSVhsv(134, 72%, 32%)
CMYKcmyk(71.6%, 0%, 54.3%, 68.2%)
CIE-LABlab(29.91, -29.53, 20.44)
CIE-LCHlch(29.91, 35.91, 145.30°)
OKLaboklab(38.58% -0.0796 0.0496)
OKLCHoklch(38.58% 0.094 148.1)
XYZxyz(3.6294, 6.2002, 2.7554)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175125 #511743
analogous
#265117 #175125 #175142
triadic
#175125 #251751 #512517
tetradic
#175125 #172651 #511743 #514217
square
#175125 #172651 #511743 #514217
split-complementary
#175125 #421751 #511726
monochromatic
#07180B #09210F #175125 #25813B #32B051

Accessibility & contrast

On white

9.37
#175125 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#175125 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175125
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175125#FFFFFF#000000##FFFFFF
##1751251.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524921
Deuteranopia (green-blind)
#4B4428
Tritanopia (blue-blind)
#044F47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #175125;
/* rgb */ color: rgb(23, 81, 37);
/* oklch */ color: oklch(38.6% 0.094 148.1);
Tailwind
colors: {
  custom: {
    50: '#5c8260',
    500: '#175125',
    950: '#000000',
  },
}
SCSS
$custom: #175125;
$custom-light: #5c8260;
$custom-dark: #000000;
JSON
{
  "hex": "#175125",
  "rgb": {
    "r": 23,
    "g": 81,
    "b": 37
  },
  "hsl": {
    "h": 134.483,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38584,
    "c": 0.09381,
    "h": 148.1
  },
  "luminance": 0.06201
}

Semantic roles & 50–950 ramp

primary
#175125
secondary
#883C76
accent
#49BBDF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A05
muted
#797C79

Preview Lab

Preview with #175125

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

Preview Lab → · Contrast checker → · Palette generator →

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