#17792F#17792F

#17792F is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.6% C 0.140 H 146.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#17792F
RGBrgb(23, 121, 47)
HSLhsl(135, 68%, 28%)
HSVhsv(135, 81%, 47%)
CMYKcmyk(81%, 0%, 61.2%, 52.5%)
CIE-LABlab(44.32, -43.62, 32.40)
CIE-LCHlch(44.32, 54.34, 143.40°)
OKLaboklab(50.55% -0.1174 0.0767)
OKLCHoklch(50.55% 0.14 146.9)
XYZxyz(7.7032, 14.0612, 4.9969)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17792F #791761
analogous
#307917 #17792F #177960
triadic
#17792F #2F1779 #792F17
tetradic
#17792F #173079 #791761 #796017
square
#17792F #173079 #791761 #796017
split-complementary
#17792F #601779 #791730
monochromatic
#051A0A #0D461B #17792F #21AC43 #32D85B

Accessibility & contrast

On white

5.51
#17792F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#17792F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17792F
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17792F#FFFFFF#000000##FFFFFF
##17792F1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D27
Deuteranopia (green-blind)
#706635
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #17792f;
/* rgb */ color: rgb(23, 121, 47);
/* oklch */ color: oklch(50.6% 0.140 146.9);
Tailwind
colors: {
  custom: {
    50: '#67a16a',
    500: '#17792f',
    950: '#000000',
  },
}
SCSS
$custom: #17792f;
$custom-light: #67a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#17792f",
  "rgb": {
    "r": 23,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 134.694,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50552,
    "c": 0.14018,
    "h": 146.9
  },
  "luminance": 0.14062
}

Semantic roles & 50–950 ramp

primary
#17792F
secondary
#AE3E93
accent
#3DC0EB
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #17792F

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

Preview Lab → · Contrast checker → · Palette generator →

#17792F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva