#267F2A#267F2A

#267F2A is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.147 H 143.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#267F2A
RGBrgb(38, 127, 42)
HSLhsl(123, 54%, 32%)
HSVhsv(123, 70%, 50%)
CMYKcmyk(70.1%, 0%, 66.9%, 50.2%)
CIE-LABlab(46.65, -43.81, 37.53)
CIE-LCHlch(46.65, 57.69, 139.41°)
OKLaboklab(52.56% -0.1188 0.0871)
OKLCHoklch(52.56% 0.147 143.7)
XYZxyz(8.8061, 15.7570, 4.7674)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#267F2A #7F267B
analogous
#4E7F26 #267F2A #267F57
triadic
#267F2A #2A267F #7F2A26
tetradic
#267F2A #264E7F #7F267B #7F5726
square
#267F2A #264E7F #7F267B #7F5726
split-complementary
#267F2A #57267F #7F264E
monochromatic
#0A210B #18501A #267F2A #34AE3A #54CC59

Accessibility & contrast

On white

5.06
#267F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#267F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #267F2A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##267F2A#FFFFFF#000000##FFFFFF
##267F2A1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827320
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#0D7B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #267f2a;
/* rgb */ color: rgb(38, 127, 42);
/* oklch */ color: oklch(52.6% 0.147 143.7);
Tailwind
colors: {
  custom: {
    50: '#6ea567',
    500: '#267f2a',
    950: '#000000',
  },
}
SCSS
$custom: #267f2a;
$custom-light: #6ea567;
$custom-dark: #000000;
JSON
{
  "hex": "#267f2a",
  "rgb": {
    "r": 38,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 122.697,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5256,
    "c": 0.14728,
    "h": 143.7
  },
  "luminance": 0.15758
}

Semantic roles & 50–950 ramp

primary
#267F2A
secondary
#B051AC
accent
#4AD7DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #267F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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