#268226#268226

#268226 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.154 H 143.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#268226
RGBrgb(38, 130, 38)
HSLhsl(120, 55%, 33%)
HSVhsv(120, 71%, 51%)
CMYKcmyk(70.8%, 0%, 70.8%, 49%)
CIE-LABlab(47.64, -45.33, 40.38)
CIE-LCHlch(47.64, 60.71, 138.31°)
OKLaboklab(53.37% -0.1231 0.0926)
OKLCHoklch(53.37% 0.154 143)
XYZxyz(9.1313, 16.5163, 4.5401)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268226 #822682
analogous
#548226 #268226 #268254
triadic
#268226 #262682 #822626
tetradic
#268226 #265482 #822682 #825426
square
#268226 #265482 #822682 #825426
split-complementary
#268226 #542682 #822654
monochromatic
#0A230A #185318 #268226 #34B134 #55CD55

Accessibility & contrast

On white

4.88
#268226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#268226 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #268226
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268226#FFFFFF#000000##FFFFFF
##2682261.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857619
Deuteranopia (green-blind)
#7A6E2F
Tritanopia (blue-blind)
#0C7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #268226;
/* rgb */ color: rgb(38, 130, 38);
/* oklch */ color: oklch(53.4% 0.154 143.0);
Tailwind
colors: {
  custom: {
    50: '#6ea765',
    500: '#268226',
    950: '#000000',
  },
}
SCSS
$custom: #268226;
$custom-light: #6ea765;
$custom-dark: #000000;
JSON
{
  "hex": "#268226",
  "rgb": {
    "r": 38,
    "g": 130,
    "b": 38
  },
  "hsl": {
    "h": 120,
    "s": 54.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53369,
    "c": 0.15404,
    "h": 143
  },
  "luminance": 0.16517
}

Semantic roles & 50–950 ramp

primary
#268226
secondary
#B252B2
accent
#4ADEDE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #268226

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

Preview Lab → · Contrast checker → · Palette generator →

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