#266142#266142

#266142 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.4% C 0.080 H 157.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#266142
RGBrgb(38, 97, 66)
HSLhsl(148, 44%, 26%)
HSVhsv(148, 61%, 38%)
CMYKcmyk(60.8%, 0%, 32%, 62%)
CIE-LABlab(36.66, -27.26, 12.07)
CIE-LCHlch(36.66, 29.81, 156.12°)
OKLaboklab(44.44% -0.0744 0.0306)
OKLCHoklch(44.44% 0.08 157.6)
XYZxyz(6.0569, 9.3542, 6.6396)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266142 #612645
analogous
#286126 #266142 #266160
triadic
#266142 #422661 #614226
tetradic
#266142 #262861 #612645 #616026
square
#266142 #262861 #612645 #616026
split-complementary
#266142 #602661 #612628
monochromatic
#09160F #153524 #266142 #378D60 #4AB87E

Accessibility & contrast

On white

7.31
#266142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#266142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #266142
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266142#FFFFFF#000000##FFFFFF
##2661421.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605A40
Deuteranopia (green-blind)
#585444
Tritanopia (blue-blind)
#116059
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #266142;
/* rgb */ color: rgb(38, 97, 66);
/* oklch */ color: oklch(44.4% 0.080 157.6);
Tailwind
colors: {
  custom: {
    50: '#668e76',
    500: '#266142',
    950: '#000000',
  },
}
SCSS
$custom: #266142;
$custom-light: #668e76;
$custom-dark: #000000;
JSON
{
  "hex": "#266142",
  "rgb": {
    "r": 38,
    "g": 97,
    "b": 66
  },
  "hsl": {
    "h": 148.475,
    "s": 43.704,
    "l": 26.471
  },
  "oklch": {
    "l": 0.44443,
    "c": 0.08048,
    "h": 157.6
  },
  "luminance": 0.09355
}

Semantic roles & 50–950 ramp

primary
#266142
secondary
#944F73
accent
#5497D3
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #266142

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

Preview Lab → · Contrast checker → · Palette generator →

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