#266017#266017

#266017 is a dark, vivid green. Relative luminance 0.088; OKLCH L 43.4% C 0.121 H 139.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#266017
RGBrgb(38, 96, 23)
HSLhsl(108, 61%, 23%)
HSVhsv(108, 76%, 38%)
CMYKcmyk(60.4%, 0%, 76%, 62.4%)
CIE-LABlab(35.67, -33.69, 34.24)
CIE-LCHlch(35.67, 48.04, 134.53°)
OKLaboklab(43.43% -0.0925 0.0777)
OKLCHoklch(43.43% 0.121 139.9)
XYZxyz(5.1366, 8.8392, 2.2459)
Luminance0.0884 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266017 #511760
analogous
#4A6017 #266017 #17602C
triadic
#266017 #172660 #601726
tetradic
#266017 #174A60 #511760 #602C17
square
#266017 #174A60 #511760 #602C17
split-complementary
#266017 #2C1760 #60174A
monochromatic
#0A1906 #122F0B #266017 #3A9123 #4DC32F

Accessibility & contrast

On white

7.59
#266017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#266017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #266017
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266017#FFFFFF#000000##FFFFFF
##2660171.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570B
Deuteranopia (green-blind)
#5C521E
Tritanopia (blue-blind)
#1F5D52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #266017;
/* rgb */ color: rgb(38, 96, 23);
/* oklch */ color: oklch(43.4% 0.121 139.9);
Tailwind
colors: {
  custom: {
    50: '#688e59',
    500: '#266017',
    950: '#000000',
  },
}
SCSS
$custom: #266017;
$custom-light: #688e59;
$custom-dark: #000000;
JSON
{
  "hex": "#266017",
  "rgb": {
    "r": 38,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 107.671,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43428,
    "c": 0.1208,
    "h": 139.9
  },
  "luminance": 0.0884
}

Semantic roles & 50–950 ramp

primary
#266017
secondary
#843C97
accent
#43E4C3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #266017

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

Preview Lab → · Contrast checker → · Palette generator →

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