#268017#268017

#268017 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.161 H 141.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#268017
RGBrgb(38, 128, 23)
HSLhsl(111, 70%, 30%)
HSVhsv(111, 82%, 50%)
CMYKcmyk(70.3%, 0%, 82%, 49.8%)
CIE-LABlab(46.86, -45.84, 45.24)
CIE-LCHlch(46.86, 64.41, 135.37°)
OKLaboklab(52.69% -0.1252 0.1007)
OKLCHoklch(52.69% 0.161 141.2)
XYZxyz(8.6727, 15.9114, 3.4246)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268017 #711780
analogous
#5A8017 #268017 #17803D
triadic
#268017 #172680 #801726
tetradic
#268017 #175A80 #711780 #803D17
square
#268017 #175A80 #711780 #803D17
split-complementary
#268017 #3D1780 #80175A
monochromatic
#081A05 #174C0E #268017 #35B420 #4EDB36

Accessibility & contrast

On white

5.02
#268017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#268017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #268017
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268017#FFFFFF#000000##FFFFFF
##2680171.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C24
Tritanopia (blue-blind)
#127C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #268017;
/* rgb */ color: rgb(38, 128, 23);
/* oklch */ color: oklch(52.7% 0.161 141.2);
Tailwind
colors: {
  custom: {
    50: '#6fa65e',
    500: '#268017',
    950: '#000000',
  },
}
SCSS
$custom: #268017;
$custom-light: #6fa65e;
$custom-dark: #000000;
JSON
{
  "hex": "#268017",
  "rgb": {
    "r": 38,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 111.429,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52685,
    "c": 0.1607,
    "h": 141.2
  },
  "luminance": 0.15912
}

Semantic roles & 50–950 ramp

primary
#268017
secondary
#A43EB4
accent
#3BECD3
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #268017

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

Preview Lab → · Contrast checker → · Palette generator →

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