#267221#267221

#267221 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.137 H 142.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#267221
RGBrgb(38, 114, 33)
HSLhsl(116, 55%, 29%)
HSVhsv(116, 71%, 45%)
CMYKcmyk(66.7%, 0%, 71.1%, 55.3%)
CIE-LABlab(42.09, -39.89, 36.63)
CIE-LCHlch(42.09, 54.15, 137.44°)
OKLaboklab(48.75% -0.1086 0.0841)
OKLCHoklch(48.75% 0.137 142.2)
XYZxyz(7.0908, 12.5558, 3.4884)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#267221 #6D2172
analogous
#4F7221 #267221 #217245
triadic
#267221 #212672 #722126
tetradic
#267221 #214F72 #6D2172 #724521
square
#267221 #214F72 #6D2172 #724521
split-complementary
#267221 #452172 #72214F
monochromatic
#081807 #164313 #267221 #36A12F #4DC944

Accessibility & contrast

On white

5.98
#267221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#267221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #267221
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##267221#FFFFFF#000000##FFFFFF
##2672211.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756716
Deuteranopia (green-blind)
#6B6129
Tritanopia (blue-blind)
#176E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #267221;
/* rgb */ color: rgb(38, 114, 33);
/* oklch */ color: oklch(48.8% 0.137 142.2);
Tailwind
colors: {
  custom: {
    50: '#6b9b61',
    500: '#267221',
    950: '#000000',
  },
}
SCSS
$custom: #267221;
$custom-light: #6b9b61;
$custom-dark: #000000;
JSON
{
  "hex": "#267221",
  "rgb": {
    "r": 38,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 116.296,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48753,
    "c": 0.13736,
    "h": 142.2
  },
  "luminance": 0.12557
}

Semantic roles & 50–950 ramp

primary
#267221
secondary
#A049A5
accent
#49DED5
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #267221

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

Preview Lab → · Contrast checker → · Palette generator →

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