#267E21#267E21

#267E21 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.153 H 142.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#267E21
RGBrgb(38, 126, 33)
HSLhsl(117, 58%, 31%)
HSVhsv(117, 74%, 49%)
CMYKcmyk(69.8%, 0%, 73.8%, 50.6%)
CIE-LABlab(46.23, -44.36, 40.98)
CIE-LCHlch(46.23, 60.39, 137.26°)
OKLaboklab(52.19% -0.1207 0.0932)
OKLCHoklch(52.19% 0.153 142.3)
XYZxyz(8.5342, 15.4427, 3.9695)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#267E21 #79217E
analogous
#547E21 #267E21 #217E4A
triadic
#267E21 #21267E #7E2126
tetradic
#267E21 #21547E #79217E #7E4A21
square
#267E21 #21547E #79217E #7E4A21
split-complementary
#267E21 #4A217E #7E2154
monochromatic
#091D08 #174E14 #267E21 #35AE2E #51D04A

Accessibility & contrast

On white

5.14
#267E21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#267E21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #267E21
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##267E21#FFFFFF#000000##FFFFFF
##267E211.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817212
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#117A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #267e21;
/* rgb */ color: rgb(38, 126, 33);
/* oklch */ color: oklch(52.2% 0.153 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ea462',
    500: '#267e21',
    950: '#000000',
  },
}
SCSS
$custom: #267e21;
$custom-light: #6ea462;
$custom-dark: #000000;
JSON
{
  "hex": "#267e21",
  "rgb": {
    "r": 38,
    "g": 126,
    "b": 33
  },
  "hsl": {
    "h": 116.774,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52188,
    "c": 0.15253,
    "h": 142.3
  },
  "luminance": 0.15444
}

Semantic roles & 50–950 ramp

primary
#267E21
secondary
#AB4AB1
accent
#46E2D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #267E21

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

Preview Lab → · Contrast checker → · Palette generator →

#267E21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva