#267A2F#267A2F

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

Color values

HEX#267A2F
RGBrgb(38, 122, 47)
HSLhsl(126, 53%, 31%)
HSVhsv(126, 69%, 48%)
CMYKcmyk(68.9%, 0%, 61.5%, 52.2%)
CIE-LABlab(44.99, -41.32, 33.26)
CIE-LCHlch(44.99, 53.04, 141.17°)
OKLaboklab(51.2% -0.1118 0.0785)
OKLCHoklch(51.2% 0.137 144.9)
XYZxyz(8.2714, 14.5355, 5.0585)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#267A2F #7A2671
analogous
#477A26 #267A2F #267A59
triadic
#267A2F #2F267A #7A2F26
tetradic
#267A2F #26477A #7A2671 #7A5926
square
#267A2F #26477A #7A2671 #7A5926
split-complementary
#267A2F #59267A #7A2647
monochromatic
#091D0B #174B1D #267A2F #35A941 #51C95E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##267A2F#FFFFFF#000000##FFFFFF
##267A2F1.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)
#7C6F27
Deuteranopia (green-blind)
#726835
Tritanopia (blue-blind)
#0E776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #267a2f;
/* rgb */ color: rgb(38, 122, 47);
/* oklch */ color: oklch(51.2% 0.137 144.9);
Tailwind
colors: {
  custom: {
    50: '#6ca16a',
    500: '#267a2f',
    950: '#000000',
  },
}
SCSS
$custom: #267a2f;
$custom-light: #6ca16a;
$custom-dark: #000000;
JSON
{
  "hex": "#267a2f",
  "rgb": {
    "r": 38,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 126.429,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51201,
    "c": 0.13657,
    "h": 144.9
  },
  "luminance": 0.14536
}

Semantic roles & 50–950 ramp

primary
#267A2F
secondary
#AC50A2
accent
#4CCCDC
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #267A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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