#267A2A#267A2A

#267A2A is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.141 H 143.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#267A2A
RGBrgb(38, 122, 42)
HSLhsl(123, 53%, 31%)
HSVhsv(123, 69%, 48%)
CMYKcmyk(68.9%, 0%, 65.6%, 52.2%)
CIE-LABlab(44.94, -41.94, 35.62)
CIE-LCHlch(44.94, 55.03, 139.66°)
OKLaboklab(51.14% -0.1137 0.083)
OKLCHoklch(51.14% 0.141 143.9)
XYZxyz(8.1763, 14.4975, 4.5574)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#267A2A #7A2676
analogous
#4C7A26 #267A2A #267A54
triadic
#267A2A #2A267A #7A2A26
tetradic
#267A2A #264C7A #7A2676 #7A5426
square
#267A2A #264C7A #7A2676 #7A5426
split-complementary
#267A2A #54267A #7A264C
monochromatic
#091D0A #174B1A #267A2A #35A93A #51C957

Accessibility & contrast

On white

5.39
#267A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#267A2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #267A2A
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##267A2A#FFFFFF#000000##FFFFFF
##267A2A1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F21
Deuteranopia (green-blind)
#726831
Tritanopia (blue-blind)
#107769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #267a2a;
/* rgb */ color: rgb(38, 122, 42);
/* oklch */ color: oklch(51.1% 0.141 143.9);
Tailwind
colors: {
  custom: {
    50: '#6ca167',
    500: '#267a2a',
    950: '#000000',
  },
}
SCSS
$custom: #267a2a;
$custom-light: #6ca167;
$custom-dark: #000000;
JSON
{
  "hex": "#267a2a",
  "rgb": {
    "r": 38,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 122.857,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5114,
    "c": 0.14079,
    "h": 143.9
  },
  "luminance": 0.14498
}

Semantic roles & 50–950 ramp

primary
#267A2A
secondary
#AC50A8
accent
#4CD5DC
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #267A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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