#268517#268517

#268517 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.1% C 0.166 H 141.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#268517
RGBrgb(38, 133, 23)
HSLhsl(112, 71%, 31%)
HSVhsv(112, 83%, 52%)
CMYKcmyk(71.4%, 0%, 82.7%, 47.8%)
CIE-LABlab(48.57, -47.58, 46.86)
CIE-LCHlch(48.57, 66.78, 135.44°)
OKLaboklab(54.11% -0.1299 0.1041)
OKLCHoklch(54.11% 0.166 141.3)
XYZxyz(9.3410, 17.2480, 3.6474)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268517 #761785
analogous
#5D8517 #268517 #17853F
triadic
#268517 #172685 #851726
tetradic
#268517 #175D85 #761785 #853F17
square
#268517 #175D85 #761785 #853F17
split-complementary
#268517 #3F1785 #85175D
monochromatic
#081D05 #17510E #268517 #35B920 #50DD3A

Accessibility & contrast

On white

4.72
#268517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#268517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #268517
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268517#FFFFFF#000000##FFFFFF
##2685171.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7E7025
Tritanopia (blue-blind)
#0F8171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #268517;
/* rgb */ color: rgb(38, 133, 23);
/* oklch */ color: oklch(54.1% 0.166 141.3);
Tailwind
colors: {
  custom: {
    50: '#70a95e',
    500: '#268517',
    950: '#000000',
  },
}
SCSS
$custom: #268517;
$custom-light: #70a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#268517",
  "rgb": {
    "r": 38,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 111.818,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54106,
    "c": 0.16649,
    "h": 141.3
  },
  "luminance": 0.17249
}

Semantic roles & 50–950 ramp

primary
#268517
secondary
#A83FB9
accent
#3BEDD5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #268517

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

Preview Lab → · Contrast checker → · Palette generator →

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