#268918#268918

#268918 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.2% C 0.171 H 141.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#268918
RGBrgb(38, 137, 24)
HSLhsl(113, 70%, 32%)
HSVhsv(113, 82%, 54%)
CMYKcmyk(72.3%, 0%, 82.5%, 46.3%)
CIE-LABlab(49.94, -48.90, 47.83)
CIE-LCHlch(49.94, 68.40, 135.63°)
OKLaboklab(55.24% -0.1334 0.1063)
OKLCHoklch(55.24% 0.171 141.5)
XYZxyz(9.9093, 18.3683, 3.8872)
Luminance0.1837 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268918 #7B1889
analogous
#5F8918 #268918 #188943
triadic
#268918 #182689 #891826
tetradic
#268918 #185F89 #7B1889 #894318
square
#268918 #185F89 #7B1889 #894318
split-complementary
#268918 #431889 #89185F
monochromatic
#092106 #18550F #268918 #34BD21 #52DD3E

Accessibility & contrast

On white

4.49
#268918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#268918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268918
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268918#FFFFFF#000000##000000
##2689181.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#0B8574
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #268918;
/* rgb */ color: rgb(38, 137, 24);
/* oklch */ color: oklch(55.2% 0.171 141.5);
Tailwind
colors: {
  custom: {
    50: '#71ac5f',
    500: '#268918',
    950: '#000000',
  },
}
SCSS
$custom: #268918;
$custom-light: #71ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#268918",
  "rgb": {
    "r": 38,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 112.566,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55244,
    "c": 0.17057,
    "h": 141.5
  },
  "luminance": 0.18369
}

Semantic roles & 50–950 ramp

primary
#268918
secondary
#AD40BD
accent
#3BEDD7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #268918

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

Preview Lab → · Contrast checker → · Palette generator →

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