#268F17#268F17

#268F17 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.178 H 141.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#268F17
RGBrgb(38, 143, 23)
HSLhsl(113, 72%, 33%)
HSVhsv(113, 84%, 56%)
CMYKcmyk(73.4%, 0%, 83.9%, 43.9%)
CIE-LABlab(51.97, -50.98, 50.02)
CIE-LCHlch(51.97, 71.42, 135.55°)
OKLaboklab(56.93% -0.1391 0.1107)
OKLCHoklch(56.93% 0.178 141.5)
XYZxyz(10.7758, 20.1177, 4.1256)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268F17 #80178F
analogous
#628F17 #268F17 #178F44
triadic
#268F17 #17268F #8F1726
tetradic
#268F17 #17628F #80178F #8F4417
square
#268F17 #17628F #80178F #8F4417
split-complementary
#268F17 #44178F #8F1762
monochromatic
#0A2606 #185A0F #268F17 #34C41F #54E040

Accessibility & contrast

On white

4.18
#268F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#268F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268F17
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268F17#FFFFFF#000000##000000
##268F171.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#068A79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #268f17;
/* rgb */ color: rgb(38, 143, 23);
/* oklch */ color: oklch(56.9% 0.178 141.5);
Tailwind
colors: {
  custom: {
    50: '#72b160',
    500: '#268f17',
    950: '#000000',
  },
}
SCSS
$custom: #268f17;
$custom-light: #72b160;
$custom-dark: #000000;
JSON
{
  "hex": "#268f17",
  "rgb": {
    "r": 38,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 112.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56928,
    "c": 0.17776,
    "h": 141.5
  },
  "luminance": 0.20119
}

Semantic roles & 50–950 ramp

primary
#268F17
secondary
#B141C1
accent
#39EFD8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #268F17

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

Preview Lab → · Contrast checker → · Palette generator →

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