#268018#268018

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

Color values

HEX#268018
RGBrgb(38, 128, 24)
HSLhsl(112, 68%, 30%)
HSVhsv(112, 81%, 50%)
CMYKcmyk(70.3%, 0%, 81.3%, 49.8%)
CIE-LABlab(46.86, -45.77, 44.92)
CIE-LCHlch(46.86, 64.14, 135.54°)
OKLaboklab(52.69% -0.125 0.1002)
OKLCHoklch(52.69% 0.16 141.3)
XYZxyz(8.6829, 15.9154, 3.4784)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268018 #721880
analogous
#5A8018 #268018 #18803E
triadic
#268018 #182680 #801826
tetradic
#268018 #185A80 #721880 #803E18
square
#268018 #185A80 #721880 #803E18
split-complementary
#268018 #3E1880 #80185A
monochromatic
#081A05 #174C0E #268018 #35B422 #4EDA39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##268018#FFFFFF#000000##FFFFFF
##2680181.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: #268018;
/* rgb */ color: rgb(38, 128, 24);
/* oklch */ color: oklch(52.7% 0.160 141.3);
Tailwind
colors: {
  custom: {
    50: '#6fa65e',
    500: '#268018',
    950: '#000000',
  },
}
SCSS
$custom: #268018;
$custom-light: #6fa65e;
$custom-dark: #000000;
JSON
{
  "hex": "#268018",
  "rgb": {
    "r": 38,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 111.923,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52691,
    "c": 0.16021,
    "h": 141.3
  },
  "luminance": 0.15916
}

Semantic roles & 50–950 ramp

primary
#268018
secondary
#A540B4
accent
#3DEBD4
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #268018

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

Preview Lab → · Contrast checker → · Palette generator →

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