#268A22#268A22

#268A22 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.166 H 142.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#268A22
RGBrgb(38, 138, 34)
HSLhsl(118, 60%, 34%)
HSVhsv(118, 75%, 54%)
CMYKcmyk(72.5%, 0%, 75.4%, 45.9%)
CIE-LABlab(50.34, -48.52, 44.79)
CIE-LCHlch(50.34, 66.03, 137.29°)
OKLaboklab(55.59% -0.1319 0.1013)
OKLCHoklch(55.59% 0.166 142.5)
XYZxyz(10.1759, 18.7034, 4.5869)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268A22 #86228A
analogous
#5A8A22 #268A22 #228A52
triadic
#268A22 #22268A #8A2226
tetradic
#268A22 #225A8A #86228A #8A5222
square
#268A22 #225A8A #86228A #8A5222
split-complementary
#268A22 #52228A #8A225A
monochromatic
#0B280A #185916 #268A22 #34BB2E #57D452

Accessibility & contrast

On white

4.43
#268A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#268A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268A22
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268A22#FFFFFF#000000##000000
##268A221.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D0E
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#068676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #268a22;
/* rgb */ color: rgb(38, 138, 34);
/* oklch */ color: oklch(55.6% 0.166 142.5);
Tailwind
colors: {
  custom: {
    50: '#71ad64',
    500: '#268a22',
    950: '#000000',
  },
}
SCSS
$custom: #268a22;
$custom-light: #71ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#268a22",
  "rgb": {
    "r": 38,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 117.692,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55593,
    "c": 0.16635,
    "h": 142.5
  },
  "luminance": 0.18705
}

Semantic roles & 50–950 ramp

primary
#268A22
secondary
#B450B8
accent
#44E4DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #268A22

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

Preview Lab → · Contrast checker → · Palette generator →

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