#267312#267312

#267312 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.148 H 140.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#267312
RGBrgb(38, 115, 18)
HSLhsl(108, 73%, 26%)
HSVhsv(108, 84%, 45%)
CMYKcmyk(67%, 0%, 84.3%, 54.9%)
CIE-LABlab(42.33, -41.46, 42.57)
CIE-LCHlch(42.33, 59.43, 134.24°)
OKLaboklab(48.93% -0.1137 0.0944)
OKLCHoklch(48.93% 0.148 140.3)
XYZxyz(7.0389, 12.7165, 2.6557)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#267312 #5F1273
analogous
#567312 #267312 #12732E
triadic
#267312 #122673 #731226
tetradic
#267312 #125673 #5F1273 #732E12
square
#267312 #125673 #5F1273 #732E12
split-complementary
#267312 #2E1273 #731256
monochromatic
#091A04 #153E0A #267312 #37A81A #49DD23

Accessibility & contrast

On white

5.93
#267312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#267312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #267312
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##267312#FFFFFF#000000##FFFFFF
##2673121.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6D621E
Tritanopia (blue-blind)
#1A6F61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #267312;
/* rgb */ color: rgb(38, 115, 18);
/* oklch */ color: oklch(48.9% 0.148 140.3);
Tailwind
colors: {
  custom: {
    50: '#6c9c59',
    500: '#267312',
    950: '#000000',
  },
}
SCSS
$custom: #267312;
$custom-light: #6c9c59;
$custom-dark: #000000;
JSON
{
  "hex": "#267312",
  "rgb": {
    "r": 38,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 107.629,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48925,
    "c": 0.14777,
    "h": 140.3
  },
  "luminance": 0.12717
}

Semantic roles & 50–950 ramp

primary
#267312
secondary
#9237AA
accent
#38F0CA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #267312

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

Preview Lab → · Contrast checker → · Palette generator →

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