#267F31#267F31

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

Color values

HEX#267F31
RGBrgb(38, 127, 49)
HSLhsl(127, 54%, 32%)
HSVhsv(127, 70%, 50%)
CMYKcmyk(70.1%, 0%, 61.4%, 50.2%)
CIE-LABlab(46.73, -42.96, 34.28)
CIE-LCHlch(46.73, 54.96, 141.41°)
OKLaboklab(52.64% -0.1161 0.0809)
OKLCHoklch(52.64% 0.142 145.2)
XYZxyz(8.9425, 15.8116, 5.4858)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#267F31 #7F2674
analogous
#477F26 #267F31 #267F5E
triadic
#267F31 #31267F #7F3126
tetradic
#267F31 #26477F #7F2674 #7F5E26
square
#267F31 #26477F #7F2674 #7F5E26
split-complementary
#267F31 #5E267F #7F2647
monochromatic
#0A210D #18501F #267F31 #34AE43 #54CC63

Accessibility & contrast

On white

5.04
#267F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#267F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #267F31
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##267F31#FFFFFF#000000##FFFFFF
##267F311.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817329
Deuteranopia (green-blind)
#766C37
Tritanopia (blue-blind)
#087C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #267f31;
/* rgb */ color: rgb(38, 127, 49);
/* oklch */ color: oklch(52.6% 0.141 145.2);
Tailwind
colors: {
  custom: {
    50: '#6da56c',
    500: '#267f31',
    950: '#000000',
  },
}
SCSS
$custom: #267f31;
$custom-light: #6da56c;
$custom-dark: #000000;
JSON
{
  "hex": "#267f31",
  "rgb": {
    "r": 38,
    "g": 127,
    "b": 49
  },
  "hsl": {
    "h": 127.416,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52643,
    "c": 0.1415,
    "h": 145.2
  },
  "luminance": 0.15813
}

Semantic roles & 50–950 ramp

primary
#267F31
secondary
#B051A4
accent
#4ACBDD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #267F31

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

Preview Lab → · Contrast checker → · Palette generator →

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