#267212#267212

#267212 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.147 H 140.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#267212
RGBrgb(38, 114, 18)
HSLhsl(108, 73%, 26%)
HSVhsv(108, 84%, 45%)
CMYKcmyk(66.7%, 0%, 84.2%, 55.3%)
CIE-LABlab(41.98, -41.09, 42.25)
CIE-LCHlch(41.98, 58.94, 134.21°)
OKLaboklab(48.64% -0.1127 0.0937)
OKLCHoklch(48.64% 0.147 140.3)
XYZxyz(6.9255, 12.4897, 2.6179)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#267212 #5E1272
analogous
#567212 #267212 #12722E
triadic
#267212 #122672 #721226
tetradic
#267212 #125672 #5E1272 #722E12
square
#267212 #125672 #5E1272 #722E12
split-complementary
#267212 #2E1272 #721256
monochromatic
#091A04 #143D0A #267212 #38A71A #49DC23

Accessibility & contrast

On white

6.00
#267212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#267212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #267212
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##267212#FFFFFF#000000##FFFFFF
##2672121.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#6C611E
Tritanopia (blue-blind)
#1A6E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #267212;
/* rgb */ color: rgb(38, 114, 18);
/* oklch */ color: oklch(48.6% 0.147 140.3);
Tailwind
colors: {
  custom: {
    50: '#6c9b59',
    500: '#267212',
    950: '#000000',
  },
}
SCSS
$custom: #267212;
$custom-light: #6c9b59;
$custom-dark: #000000;
JSON
{
  "hex": "#267212",
  "rgb": {
    "r": 38,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 107.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48636,
    "c": 0.14657,
    "h": 140.3
  },
  "luminance": 0.1249
}

Semantic roles & 50–950 ramp

primary
#267212
secondary
#9137A9
accent
#38EFC9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #267212

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

Preview Lab → · Contrast checker → · Palette generator →

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