#267226#267226

#267226 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.133 H 143.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#267226
RGBrgb(38, 114, 38)
HSLhsl(120, 50%, 30%)
HSVhsv(120, 67%, 45%)
CMYKcmyk(66.7%, 0%, 66.7%, 55.3%)
CIE-LABlab(42.13, -39.34, 34.39)
CIE-LCHlch(42.13, 52.25, 138.85°)
OKLaboklab(48.81% -0.1069 0.08)
OKLCHoklch(48.81% 0.133 143.2)
XYZxyz(7.1661, 12.5859, 3.8850)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#267226 #722672
analogous
#4C7226 #267226 #26724C
triadic
#267226 #262672 #722626
tetradic
#267226 #264C72 #722672 #724C26
square
#267226 #264C72 #722672 #724C26
split-complementary
#267226 #4C2672 #72264C
monochromatic
#081708 #174417 #267226 #35A035 #4EC44E

Accessibility & contrast

On white

5.97
#267226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#267226 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #267226
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##267226#FFFFFF#000000##FFFFFF
##2672261.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74671D
Deuteranopia (green-blind)
#6B612D
Tritanopia (blue-blind)
#166F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #267226;
/* rgb */ color: rgb(38, 114, 38);
/* oklch */ color: oklch(48.8% 0.133 143.2);
Tailwind
colors: {
  custom: {
    50: '#6b9b64',
    500: '#267226',
    950: '#000000',
  },
}
SCSS
$custom: #267226;
$custom-light: #6b9b64;
$custom-dark: #000000;
JSON
{
  "hex": "#267226",
  "rgb": {
    "r": 38,
    "g": 114,
    "b": 38
  },
  "hsl": {
    "h": 120,
    "s": 50,
    "l": 29.804
  },
  "oklch": {
    "l": 0.48807,
    "c": 0.13347,
    "h": 143.2
  },
  "luminance": 0.12587
}

Semantic roles & 50–950 ramp

primary
#267226
secondary
#A54FA5
accent
#4EDADA
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E05
muted
#7A7E7A

Preview Lab

Preview with #267226

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

Preview Lab → · Contrast checker → · Palette generator →

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