#268D22#268D22

#268D22 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.170 H 142.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#268D22
RGBrgb(38, 141, 34)
HSLhsl(118, 61%, 34%)
HSVhsv(118, 76%, 55%)
CMYKcmyk(73%, 0%, 75.9%, 44.7%)
CIE-LABlab(51.35, -49.56, 45.81)
CIE-LCHlch(51.35, 67.49, 137.25°)
OKLaboklab(56.44% -0.1347 0.1035)
OKLCHoklch(56.44% 0.17 142.5)
XYZxyz(10.6123, 19.5761, 4.7324)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268D22 #89228D
analogous
#5C8D22 #268D22 #228D54
triadic
#268D22 #22268D #8D2226
tetradic
#268D22 #225C8D #89228D #8D5422
square
#268D22 #225C8D #89228D #8D5422
split-complementary
#268D22 #54228D #8D225C
monochromatic
#0B2A0A #195C16 #268D22 #33BE2E #59D654

Accessibility & contrast

On white

4.27
#268D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#268D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268D22
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268D22#FFFFFF#000000##000000
##268D221.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#85772D
Tritanopia (blue-blind)
#038978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #268d22;
/* rgb */ color: rgb(38, 141, 34);
/* oklch */ color: oklch(56.4% 0.170 142.5);
Tailwind
colors: {
  custom: {
    50: '#71af65',
    500: '#268d22',
    950: '#000000',
  },
}
SCSS
$custom: #268d22;
$custom-light: #71af65;
$custom-dark: #000000;
JSON
{
  "hex": "#268d22",
  "rgb": {
    "r": 38,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 117.757,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56437,
    "c": 0.16988,
    "h": 142.5
  },
  "luminance": 0.19577
}

Semantic roles & 50–950 ramp

primary
#268D22
secondary
#B651B9
accent
#44E4DE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #268D22

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

Preview Lab → · Contrast checker → · Palette generator →

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