#268F22#268F22

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

Color values

HEX#268F22
RGBrgb(38, 143, 34)
HSLhsl(118, 62%, 35%)
HSVhsv(118, 76%, 56%)
CMYKcmyk(73.4%, 0%, 76.2%, 43.9%)
CIE-LABlab(52.03, -50.24, 46.49)
CIE-LCHlch(52.03, 68.45, 137.22°)
OKLaboklab(57% -0.1366 0.1049)
OKLCHoklch(57% 0.172 142.5)
XYZxyz(10.9099, 20.1713, 4.8315)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268F22 #8B228F
analogous
#5D8F22 #268F22 #228F54
triadic
#268F22 #22268F #8F2226
tetradic
#268F22 #225D8F #8B228F #8F5422
square
#268F22 #225D8F #8B228F #8F5422
split-complementary
#268F22 #54228F #8F225D
monochromatic
#0C2C0A #195E16 #268F22 #33C02E #5AD755

Accessibility & contrast

On white

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

On black

5.03
#268F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268F22
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268F22#FFFFFF#000000##000000
##268F221.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810C
Deuteranopia (green-blind)
#86792E
Tritanopia (blue-blind)
#018B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #268f22;
/* rgb */ color: rgb(38, 143, 34);
/* oklch */ color: oklch(57.0% 0.172 142.5);
Tailwind
colors: {
  custom: {
    50: '#72b165',
    500: '#268f22',
    950: '#000000',
  },
}
SCSS
$custom: #268f22;
$custom-light: #72b165;
$custom-dark: #000000;
JSON
{
  "hex": "#268f22",
  "rgb": {
    "r": 38,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 117.798,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56998,
    "c": 0.1722,
    "h": 142.5
  },
  "luminance": 0.20172
}

Semantic roles & 50–950 ramp

primary
#268F22
secondary
#B752BA
accent
#43E5DF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #268F22

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

Preview Lab → · Contrast checker → · Palette generator →

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