#266F22#266F22

#266F22 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.133 H 142.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#266F22
RGBrgb(38, 111, 34)
HSLhsl(117, 53%, 28%)
HSVhsv(117, 69%, 44%)
CMYKcmyk(65.8%, 0%, 69.4%, 56.5%)
CIE-LABlab(41.05, -38.62, 35.06)
CIE-LCHlch(41.05, 52.16, 137.77°)
OKLaboklab(47.9% -0.1051 0.0809)
OKLCHoklch(47.9% 0.133 142.4)
XYZxyz(6.7721, 11.8958, 3.4523)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266F22 #6B226F
analogous
#4C6F22 #266F22 #226F44
triadic
#266F22 #22266F #6F2226
tetradic
#266F22 #224C6F #6B226F #6F4422
square
#266F22 #224C6F #6B226F #6F4422
split-complementary
#266F22 #44226F #6F224C
monochromatic
#081707 #164014 #266F22 #369E30 #4CC645

Accessibility & contrast

On white

6.21
#266F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#266F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266F22
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266F22#FFFFFF#000000##FFFFFF
##266F221.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726518
Deuteranopia (green-blind)
#695E29
Tritanopia (blue-blind)
#186C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #266f22;
/* rgb */ color: rgb(38, 111, 34);
/* oklch */ color: oklch(47.9% 0.133 142.4);
Tailwind
colors: {
  custom: {
    50: '#6a9961',
    500: '#266f22',
    950: '#000000',
  },
}
SCSS
$custom: #266f22;
$custom-light: #6a9961;
$custom-dark: #000000;
JSON
{
  "hex": "#266f22",
  "rgb": {
    "r": 38,
    "g": 111,
    "b": 34
  },
  "hsl": {
    "h": 116.883,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.47899,
    "c": 0.13266,
    "h": 142.4
  },
  "luminance": 0.11896
}

Semantic roles & 50–950 ramp

primary
#266F22
secondary
#9E4AA2
accent
#4BDDD5
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #266F22

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

Preview Lab → · Contrast checker → · Palette generator →

#266F22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva