#268221#268221

#268221 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.3% C 0.157 H 142.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#268221
RGBrgb(38, 130, 33)
HSLhsl(117, 60%, 32%)
HSVhsv(117, 75%, 51%)
CMYKcmyk(70.8%, 0%, 74.6%, 49%)
CIE-LABlab(47.61, -45.80, 42.39)
CIE-LCHlch(47.61, 62.41, 137.21°)
OKLaboklab(53.33% -0.1246 0.0962)
OKLCHoklch(53.33% 0.157 142.3)
XYZxyz(9.0560, 16.4862, 4.1434)
Luminance0.1649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268221 #7D2182
analogous
#578221 #268221 #21824D
triadic
#268221 #212682 #822126
tetradic
#268221 #215782 #7D2182 #824D21
square
#268221 #215782 #7D2182 #824D21
split-complementary
#268221 #4D2182 #822157
monochromatic
#092008 #185115 #268221 #34B32D #53D24C

Accessibility & contrast

On white

4.89
#268221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #268221
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268221#FFFFFF#000000##FFFFFF
##2682211.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857510
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#0E7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #268221;
/* rgb */ color: rgb(38, 130, 33);
/* oklch */ color: oklch(53.3% 0.157 142.3);
Tailwind
colors: {
  custom: {
    50: '#6fa763',
    500: '#268221',
    950: '#000000',
  },
}
SCSS
$custom: #268221;
$custom-light: #6fa763;
$custom-dark: #000000;
JSON
{
  "hex": "#268221",
  "rgb": {
    "r": 38,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 116.907,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53325,
    "c": 0.15742,
    "h": 142.3
  },
  "luminance": 0.16487
}

Semantic roles & 50–950 ramp

primary
#268221
secondary
#AF4AB4
accent
#45E3DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #268221

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

Preview Lab → · Contrast checker → · Palette generator →

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