#267A22#267A22

#267A22 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.147 H 142.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#267A22
RGBrgb(38, 122, 34)
HSLhsl(117, 56%, 31%)
HSVhsv(117, 72%, 48%)
CMYKcmyk(68.9%, 0%, 72.1%, 52.2%)
CIE-LABlab(44.87, -42.80, 39.14)
CIE-LCHlch(44.87, 58.00, 137.56°)
OKLaboklab(51.06% -0.1164 0.0895)
OKLCHoklch(51.06% 0.147 142.4)
XYZxyz(8.0471, 14.4458, 3.8773)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#267A22 #76227A
analogous
#527A22 #267A22 #227A4A
triadic
#267A22 #22267A #7A2226
tetradic
#267A22 #22527A #76227A #7A4A22
square
#267A22 #22527A #76227A #7A4A22
split-complementary
#267A22 #4A227A #7A2252
monochromatic
#081A07 #174A15 #267A22 #35AA2F #50CD4A

Accessibility & contrast

On white

5.40
#267A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#267A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #267A22
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##267A22#FFFFFF#000000##FFFFFF
##267A221.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E15
Deuteranopia (green-blind)
#73682A
Tritanopia (blue-blind)
#137668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #267a22;
/* rgb */ color: rgb(38, 122, 34);
/* oklch */ color: oklch(51.1% 0.147 142.4);
Tailwind
colors: {
  custom: {
    50: '#6da162',
    500: '#267a22',
    950: '#000000',
  },
}
SCSS
$custom: #267a22;
$custom-light: #6da162;
$custom-dark: #000000;
JSON
{
  "hex": "#267a22",
  "rgb": {
    "r": 38,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 117.273,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51057,
    "c": 0.14687,
    "h": 142.4
  },
  "luminance": 0.14447
}

Semantic roles & 50–950 ramp

primary
#267A22
secondary
#A84BAD
accent
#48E0D9
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #267A22

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

Preview Lab → · Contrast checker → · Palette generator →

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