#266342#266342

#266342 is a mid, moderate green. Relative luminance 0.097; OKLCH L 45.0% C 0.084 H 156.8°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#266342
RGBrgb(38, 99, 66)
HSLhsl(148, 45%, 27%)
HSVhsv(148, 62%, 39%)
CMYKcmyk(61.6%, 0%, 33.3%, 61.2%)
CIE-LABlab(37.35, -28.21, 13.02)
CIE-LCHlch(37.35, 31.07, 155.23°)
OKLaboklab(45.01% -0.0769 0.0329)
OKLCHoklch(45.01% 0.084 156.8)
XYZxyz(6.2440, 9.7285, 6.7019)
Luminance0.0973 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266342 #632647
analogous
#296326 #266342 #266361
triadic
#266342 #422663 #634226
tetradic
#266342 #262963 #632647 #636126
square
#266342 #262963 #632647 #636126
split-complementary
#266342 #612663 #632629
monochromatic
#08160F #153725 #266342 #378F5F #4AB97D

Accessibility & contrast

On white

7.13
#266342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#266342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #266342
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266342#FFFFFF#000000##FFFFFF
##2663421.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625B40
Deuteranopia (green-blind)
#5A5544
Tritanopia (blue-blind)
#10625A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #266342;
/* rgb */ color: rgb(38, 99, 66);
/* oklch */ color: oklch(45.0% 0.084 156.8);
Tailwind
colors: {
  custom: {
    50: '#679076',
    500: '#266342',
    950: '#000000',
  },
}
SCSS
$custom: #266342;
$custom-light: #679076;
$custom-dark: #000000;
JSON
{
  "hex": "#266342",
  "rgb": {
    "r": 38,
    "g": 99,
    "b": 66
  },
  "hsl": {
    "h": 147.541,
    "s": 44.526,
    "l": 26.863
  },
  "oklch": {
    "l": 0.4501,
    "c": 0.08364,
    "h": 156.8
  },
  "luminance": 0.09729
}

Semantic roles & 50–950 ramp

primary
#266342
secondary
#964F75
accent
#5499D4
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #266342

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

Preview Lab → · Contrast checker → · Palette generator →

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