#267F40#267F40

#267F40 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.128 H 149.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#267F40
RGBrgb(38, 127, 64)
HSLhsl(138, 54%, 32%)
HSVhsv(138, 70%, 50%)
CMYKcmyk(70.1%, 0%, 49.6%, 50.2%)
CIE-LABlab(46.92, -40.70, 26.72)
CIE-LCHlch(46.92, 48.69, 146.71°)
OKLaboklab(52.87% -0.1097 0.0652)
OKLCHoklch(52.87% 0.128 149.3)
XYZxyz(9.3134, 15.9600, 7.4393)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#267F40 #7F2665
analogous
#397F26 #267F40 #267F6C
triadic
#267F40 #40267F #7F4026
tetradic
#267F40 #26397F #7F2665 #7F6C26
square
#267F40 #26397F #7F2665 #7F6C26
split-complementary
#267F40 #6C267F #7F2639
monochromatic
#0A2111 #185028 #267F40 #34AE58 #54CC77

Accessibility & contrast

On white

5.01
#267F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#267F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #267F40
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##267F40#FFFFFF#000000##FFFFFF
##267F401.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743B
Deuteranopia (green-blind)
#756C44
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #267f40;
/* rgb */ color: rgb(38, 127, 64);
/* oklch */ color: oklch(52.9% 0.128 149.3);
Tailwind
colors: {
  custom: {
    50: '#6da576',
    500: '#267f40',
    950: '#000000',
  },
}
SCSS
$custom: #267f40;
$custom-light: #6da576;
$custom-dark: #000000;
JSON
{
  "hex": "#267f40",
  "rgb": {
    "r": 38,
    "g": 127,
    "b": 64
  },
  "hsl": {
    "h": 137.528,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52868,
    "c": 0.12758,
    "h": 149.3
  },
  "luminance": 0.15961
}

Semantic roles & 50–950 ramp

primary
#267F40
secondary
#B05194
accent
#4AB2DD
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #267F40

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

Preview Lab → · Contrast checker → · Palette generator →

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