#267A31#267A31

#267A31 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.135 H 145.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#267A31
RGBrgb(38, 122, 49)
HSLhsl(128, 53%, 31%)
HSVhsv(128, 69%, 48%)
CMYKcmyk(68.9%, 0%, 59.8%, 52.2%)
CIE-LABlab(45.01, -41.05, 32.28)
CIE-LCHlch(45.01, 52.23, 141.82°)
OKLaboklab(51.23% -0.111 0.0765)
OKLCHoklch(51.23% 0.135 145.4)
XYZxyz(8.3127, 14.5520, 5.2759)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#267A31 #7A266F
analogous
#457A26 #267A31 #267A5B
triadic
#267A31 #31267A #7A3126
tetradic
#267A31 #26457A #7A266F #7A5B26
square
#267A31 #26457A #7A266F #7A5B26
split-complementary
#267A31 #5B267A #7A2645
monochromatic
#091D0C #174B1E #267A31 #35A944 #51C961

Accessibility & contrast

On white

5.37
#267A31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#267A31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #267A31
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##267A31#FFFFFF#000000##FFFFFF
##267A311.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F2A
Deuteranopia (green-blind)
#726837
Tritanopia (blue-blind)
#0D776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #267a31;
/* rgb */ color: rgb(38, 122, 49);
/* oklch */ color: oklch(51.2% 0.135 145.4);
Tailwind
colors: {
  custom: {
    50: '#6ca16b',
    500: '#267a31',
    950: '#000000',
  },
}
SCSS
$custom: #267a31;
$custom-light: #6ca16b;
$custom-dark: #000000;
JSON
{
  "hex": "#267a31",
  "rgb": {
    "r": 38,
    "g": 122,
    "b": 49
  },
  "hsl": {
    "h": 127.857,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51228,
    "c": 0.1348,
    "h": 145.4
  },
  "luminance": 0.14553
}

Semantic roles & 50–950 ramp

primary
#267A31
secondary
#AC50A0
accent
#4CC9DC
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #267A31

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

Preview Lab → · Contrast checker → · Palette generator →

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