#268E17#268E17

#268E17 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.177 H 141.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#268E17
RGBrgb(38, 142, 23)
HSLhsl(112, 72%, 32%)
HSVhsv(112, 84%, 56%)
CMYKcmyk(73.2%, 0%, 83.8%, 44.3%)
CIE-LABlab(51.63, -50.64, 49.70)
CIE-LCHlch(51.63, 70.96, 135.54°)
OKLaboklab(56.65% -0.1382 0.11)
OKLCHoklch(56.65% 0.177 141.5)
XYZxyz(10.6264, 19.8188, 4.0758)
Luminance0.1982 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268E17 #7F178E
analogous
#628E17 #268E17 #178E44
triadic
#268E17 #17268E #8E1726
tetradic
#268E17 #17628E #7F178E #8E4417
square
#268E17 #17628E #7F178E #8E4417
split-complementary
#268E17 #44178E #8E1762
monochromatic
#0A2506 #18590E #268E17 #34C320 #54E03F

Accessibility & contrast

On white

4.23
#268E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#268E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268E17
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268E17#FFFFFF#000000##000000
##268E171.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#078979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #268e17;
/* rgb */ color: rgb(38, 142, 23);
/* oklch */ color: oklch(56.6% 0.177 141.5);
Tailwind
colors: {
  custom: {
    50: '#72b060',
    500: '#268e17',
    950: '#000000',
  },
}
SCSS
$custom: #268e17;
$custom-light: #72b060;
$custom-dark: #000000;
JSON
{
  "hex": "#268e17",
  "rgb": {
    "r": 38,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 112.437,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56647,
    "c": 0.17665,
    "h": 141.5
  },
  "luminance": 0.1982
}

Semantic roles & 50–950 ramp

primary
#268E17
secondary
#B040C0
accent
#39EFD8
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#091105
muted
#7B8079

Preview Lab

Preview with #268E17

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

Preview Lab → · Contrast checker → · Palette generator →

#268E17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva