#268F18#268F18

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

Color values

HEX#268F18
RGBrgb(38, 143, 24)
HSLhsl(113, 71%, 33%)
HSVhsv(113, 83%, 56%)
CMYKcmyk(73.4%, 0%, 83.2%, 43.9%)
CIE-LABlab(51.97, -50.92, 49.73)
CIE-LCHlch(51.97, 71.18, 135.68°)
OKLaboklab(56.93% -0.1389 0.1102)
OKLCHoklch(56.93% 0.177 141.6)
XYZxyz(10.7861, 20.1217, 4.1794)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268F18 #81188F
analogous
#618F18 #268F18 #188F45
triadic
#268F18 #18268F #8F1826
tetradic
#268F18 #18618F #81188F #8F4518
square
#268F18 #18618F #81188F #8F4518
split-complementary
#268F18 #45188F #8F1861
monochromatic
#0A2606 #185B0F #268F18 #34C321 #55DF42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##268F18#FFFFFF#000000##000000
##268F181.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)
#058A79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #268f18;
/* rgb */ color: rgb(38, 143, 24);
/* oklch */ color: oklch(56.9% 0.177 141.6);
Tailwind
colors: {
  custom: {
    50: '#72b160',
    500: '#268f18',
    950: '#000000',
  },
}
SCSS
$custom: #268f18;
$custom-light: #72b160;
$custom-dark: #000000;
JSON
{
  "hex": "#268f18",
  "rgb": {
    "r": 38,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 112.941,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56934,
    "c": 0.17733,
    "h": 141.6
  },
  "luminance": 0.20123
}

Semantic roles & 50–950 ramp

primary
#268F18
secondary
#B143C0
accent
#3AEED9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #268F18

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

Preview Lab → · Contrast checker → · Palette generator →

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