#266339#266339

#266339 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.8% C 0.093 H 151.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#266339
RGBrgb(38, 99, 57)
HSLhsl(139, 45%, 27%)
HSVhsv(139, 62%, 39%)
CMYKcmyk(61.6%, 0%, 42.4%, 61.2%)
CIE-LABlab(37.17, -30.11, 18.14)
CIE-LCHlch(37.17, 35.15, 148.94°)
OKLaboklab(44.8% -0.0815 0.0451)
OKLCHoklch(44.8% 0.093 151.1)
XYZxyz(5.9992, 9.6306, 5.4128)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266339 #632650
analogous
#316326 #266339 #266358
triadic
#266339 #392663 #633926
tetradic
#266339 #263163 #632650 #635826
square
#266339 #263163 #632650 #635826
split-complementary
#266339 #582663 #632631
monochromatic
#08160D #153720 #266339 #378F52 #4AB96D

Accessibility & contrast

On white

7.18
#266339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#266339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #266339
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266339#FFFFFF#000000##FFFFFF
##2663391.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635B36
Deuteranopia (green-blind)
#5B553C
Tritanopia (blue-blind)
#156159
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #266339;
/* rgb */ color: rgb(38, 99, 57);
/* oklch */ color: oklch(44.8% 0.093 151.1);
Tailwind
colors: {
  custom: {
    50: '#679070',
    500: '#266339',
    950: '#000000',
  },
}
SCSS
$custom: #266339;
$custom-light: #679070;
$custom-dark: #000000;
JSON
{
  "hex": "#266339",
  "rgb": {
    "r": 38,
    "g": 99,
    "b": 57
  },
  "hsl": {
    "h": 138.689,
    "s": 44.526,
    "l": 26.863
  },
  "oklch": {
    "l": 0.44804,
    "c": 0.09314,
    "h": 151.1
  },
  "luminance": 0.09631
}

Semantic roles & 50–950 ramp

primary
#266339
secondary
#964F80
accent
#54ACD4
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #266339

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

Preview Lab → · Contrast checker → · Palette generator →

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