#017338#017338

#017338 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.7% C 0.128 H 151.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#017338
RGBrgb(1, 115, 56)
HSLhsl(149, 98%, 23%)
HSVhsv(149, 99%, 45%)
CMYKcmyk(99.1%, 0%, 51.3%, 54.9%)
CIE-LABlab(42.08, -42.21, 24.88)
CIE-LCHlch(42.08, 49.00, 149.48°)
OKLaboklab(48.66% -0.113 0.0606)
OKLCHoklch(48.66% 0.128 151.8)
XYZxyz(6.8564, 12.5525, 5.8021)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#017338 #73013C
analogous
#037301 #017338 #017371
triadic
#017338 #380173 #733801
tetradic
#017338 #010373 #73013C #737101
square
#017338 #010373 #73013C #737101
split-complementary
#017338 #710173 #730103
monochromatic
#001E0F #00361A #017338 #02B056 #02EC73

Accessibility & contrast

On white

5.98
#017338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#017338 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #017338
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##017338#FFFFFF#000000##FFFFFF
##0173381.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736833
Deuteranopia (green-blind)
#68603C
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #017338;
/* rgb */ color: rgb(1, 115, 56);
/* oklch */ color: oklch(48.7% 0.128 151.8);
Tailwind
colors: {
  custom: {
    50: '#609c70',
    500: '#017338',
    950: '#000000',
  },
}
SCSS
$custom: #017338;
$custom-light: #609c70;
$custom-dark: #000000;
JSON
{
  "hex": "#017338",
  "rgb": {
    "r": 1,
    "g": 115,
    "b": 56
  },
  "hsl": {
    "h": 148.947,
    "s": 98.276,
    "l": 22.745
  },
  "oklch": {
    "l": 0.48657,
    "c": 0.12824,
    "h": 151.8
  },
  "luminance": 0.12553
}

Semantic roles & 50–950 ramp

primary
#017338
secondary
#AF206A
accent
#2998FF
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #017338

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

Preview Lab → · Contrast checker → · Palette generator →

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