#266138#266138

#266138 is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.2% C 0.091 H 151.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#266138
RGBrgb(38, 97, 56)
HSLhsl(138, 44%, 26%)
HSVhsv(138, 61%, 38%)
CMYKcmyk(60.8%, 0%, 42.3%, 62%)
CIE-LABlab(36.45, -29.39, 17.78)
CIE-LCHlch(36.45, 34.35, 148.83°)
OKLaboklab(44.21% -0.0796 0.0442)
OKLCHoklch(44.21% 0.091 151)
XYZxyz(5.7874, 9.2465, 5.2204)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266138 #61264F
analogous
#326126 #266138 #266156
triadic
#266138 #382661 #613826
tetradic
#266138 #263261 #61264F #615626
square
#266138 #263261 #61264F #615626
split-complementary
#266138 #562661 #612632
monochromatic
#09160D #15351F #266138 #378D51 #4AB86B

Accessibility & contrast

On white

7.37
#266138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#266138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #266138
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266138#FFFFFF#000000##FFFFFF
##2661381.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615935
Deuteranopia (green-blind)
#59543B
Tritanopia (blue-blind)
#165F57
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #266138;
/* rgb */ color: rgb(38, 97, 56);
/* oklch */ color: oklch(44.2% 0.091 151.0);
Tailwind
colors: {
  custom: {
    50: '#668e6f',
    500: '#266138',
    950: '#000000',
  },
}
SCSS
$custom: #266138;
$custom-light: #668e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#266138",
  "rgb": {
    "r": 38,
    "g": 97,
    "b": 56
  },
  "hsl": {
    "h": 138.305,
    "s": 43.704,
    "l": 26.471
  },
  "oklch": {
    "l": 0.4421,
    "c": 0.09105,
    "h": 151
  },
  "luminance": 0.09247
}

Semantic roles & 50–950 ramp

primary
#266138
secondary
#944F7F
accent
#54ADD3
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #266138

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

Preview Lab → · Contrast checker → · Palette generator →

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