#17751B#17751B

#17751B is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.2% C 0.150 H 143.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#17751B
RGBrgb(23, 117, 27)
HSLhsl(123, 67%, 27%)
HSVhsv(123, 80%, 46%)
CMYKcmyk(80.3%, 0%, 76.9%, 54.1%)
CIE-LABlab(42.74, -44.48, 39.69)
CIE-LCHlch(42.74, 59.61, 138.26°)
OKLaboklab(49.18% -0.1205 0.0898)
OKLCHoklch(49.18% 0.15 143.3)
XYZxyz(6.9120, 12.9831, 3.1784)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17751B #751771
analogous
#427517 #17751B #17754A
triadic
#17751B #1B1775 #751B17
tetradic
#17751B #174275 #751771 #754A17
square
#17751B #174275 #751771 #754A17
split-complementary
#17751B #4A1775 #751742
monochromatic
#051A06 #0D420F #17751B #21A827 #30D637

Accessibility & contrast

On white

5.84
#17751B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#17751B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17751B
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17751B#FFFFFF#000000##FFFFFF
##17751B1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78690A
Deuteranopia (green-blind)
#6D6225
Tritanopia (blue-blind)
#007164
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #17751b;
/* rgb */ color: rgb(23, 117, 27);
/* oklch */ color: oklch(49.2% 0.150 143.3);
Tailwind
colors: {
  custom: {
    50: '#679e5e',
    500: '#17751b',
    950: '#000000',
  },
}
SCSS
$custom: #17751b;
$custom-light: #679e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#17751b",
  "rgb": {
    "r": 23,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 122.553,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49178,
    "c": 0.15031,
    "h": 143.3
  },
  "luminance": 0.12984
}

Semantic roles & 50–950 ramp

primary
#17751B
secondary
#AA3DA6
accent
#3EE3EA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #17751B

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

Preview Lab → · Contrast checker → · Palette generator →

#17751B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva