#267828#267828

#267828 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.5% C 0.140 H 143.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#267828
RGBrgb(38, 120, 40)
HSLhsl(121, 52%, 31%)
HSVhsv(121, 68%, 47%)
CMYKcmyk(68.3%, 0%, 66.7%, 52.9%)
CIE-LABlab(44.23, -41.42, 35.77)
CIE-LCHlch(44.23, 54.73, 139.18°)
OKLaboklab(50.55% -0.1124 0.0831)
OKLCHoklch(50.55% 0.14 143.5)
XYZxyz(7.8983, 13.9974, 4.2926)
Luminance0.1400 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#267828 #782676
analogous
#4D7826 #267828 #267851
triadic
#267828 #282678 #782826
tetradic
#267828 #264D78 #782676 #785126
square
#267828 #264D78 #782676 #785126
split-complementary
#267828 #512678 #78264D
monochromatic
#091B09 #174A19 #267828 #35A637 #51C854

Accessibility & contrast

On white

5.53
#267828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#267828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #267828
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##267828#FFFFFF#000000##FFFFFF
##2678281.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D1E
Deuteranopia (green-blind)
#71662F
Tritanopia (blue-blind)
#127567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #267828;
/* rgb */ color: rgb(38, 120, 40);
/* oklch */ color: oklch(50.5% 0.140 143.5);
Tailwind
colors: {
  custom: {
    50: '#6ca066',
    500: '#267828',
    950: '#000000',
  },
}
SCSS
$custom: #267828;
$custom-light: #6ca066;
$custom-dark: #000000;
JSON
{
  "hex": "#267828",
  "rgb": {
    "r": 38,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 121.463,
    "s": 51.899,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50547,
    "c": 0.13978,
    "h": 143.5
  },
  "luminance": 0.13998
}

Semantic roles & 50–950 ramp

primary
#267828
secondary
#AA50A8
accent
#4CD8DB
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080F06
muted
#7A7E7A

Preview Lab

Preview with #267828

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

Preview Lab → · Contrast checker → · Palette generator →

#267828 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva