#267F17#267F17

#267F17 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.160 H 141.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#267F17
RGBrgb(38, 127, 23)
HSLhsl(111, 69%, 29%)
HSVhsv(111, 82%, 50%)
CMYKcmyk(70.1%, 0%, 81.9%, 50.2%)
CIE-LABlab(46.51, -45.49, 44.92)
CIE-LCHlch(46.51, 63.93, 135.36°)
OKLaboklab(52.4% -0.1243 0.1)
OKLCHoklch(52.4% 0.16 141.2)
XYZxyz(8.5429, 15.6518, 3.3813)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#267F17 #70177F
analogous
#5A7F17 #267F17 #177F3C
triadic
#267F17 #17267F #7F1726
tetradic
#267F17 #175A7F #70177F #7F3C17
square
#267F17 #175A7F #70177F #7F3C17
split-complementary
#267F17 #3C177F #7F175A
monochromatic
#081A05 #164B0E #267F17 #36B320 #4EDB36

Accessibility & contrast

On white

5.08
#267F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#267F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #267F17
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##267F17#FFFFFF#000000##FFFFFF
##267F171.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827300
Deuteranopia (green-blind)
#786C23
Tritanopia (blue-blind)
#137B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #267f17;
/* rgb */ color: rgb(38, 127, 23);
/* oklch */ color: oklch(52.4% 0.160 141.2);
Tailwind
colors: {
  custom: {
    50: '#6fa55e',
    500: '#267f17',
    950: '#000000',
  },
}
SCSS
$custom: #267f17;
$custom-light: #6fa55e;
$custom-dark: #000000;
JSON
{
  "hex": "#267f17",
  "rgb": {
    "r": 38,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 111.346,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.524,
    "c": 0.15954,
    "h": 141.2
  },
  "luminance": 0.15653
}

Semantic roles & 50–950 ramp

primary
#267F17
secondary
#A33EB4
accent
#3CECD3
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #267F17

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

Preview Lab → · Contrast checker → · Palette generator →

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