#268F26#268F26

#268F26 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.170 H 142.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#268F26
RGBrgb(38, 143, 38)
HSLhsl(120, 58%, 35%)
HSVhsv(120, 73%, 56%)
CMYKcmyk(73.4%, 0%, 73.4%, 43.9%)
CIE-LABlab(52.06, -49.90, 45.00)
CIE-LCHlch(52.06, 67.19, 137.96°)
OKLaboklab(57.03% -0.1355 0.1023)
OKLCHoklch(57.03% 0.17 142.9)
XYZxyz(10.9710, 20.1957, 5.1533)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268F26 #8F268F
analogous
#5A8F26 #268F26 #268F5A
triadic
#268F26 #26268F #8F2626
tetradic
#268F26 #265A8F #8F268F #8F5A26
square
#268F26 #265A8F #8F268F #8F5A26
split-complementary
#268F26 #5A268F #8F265A
monochromatic
#0C2E0C #195F19 #268F26 #33BF33 #5CD45C

Accessibility & contrast

On white

4.17
#268F26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#268F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268F26
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268F26#FFFFFF#000000##000000
##268F261.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928114
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #268f26;
/* rgb */ color: rgb(38, 143, 38);
/* oklch */ color: oklch(57.0% 0.170 142.9);
Tailwind
colors: {
  custom: {
    50: '#72b167',
    500: '#268f26',
    950: '#000000',
  },
}
SCSS
$custom: #268f26;
$custom-light: #72b167;
$custom-dark: #000000;
JSON
{
  "hex": "#268f26",
  "rgb": {
    "r": 38,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 120,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57029,
    "c": 0.16976,
    "h": 142.9
  },
  "luminance": 0.20197
}

Semantic roles & 50–950 ramp

primary
#268F26
secondary
#B958B9
accent
#47E1E1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #268F26

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

Preview Lab → · Contrast checker → · Palette generator →

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