#266018#266018

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

Color values

HEX#266018
RGBrgb(38, 96, 24)
HSLhsl(108, 60%, 24%)
HSVhsv(108, 75%, 38%)
CMYKcmyk(60.4%, 0%, 75%, 62.4%)
CIE-LABlab(35.68, -33.60, 33.82)
CIE-LCHlch(35.68, 47.67, 134.81°)
OKLaboklab(43.44% -0.0922 0.077)
OKLCHoklch(43.44% 0.12 140.1)
XYZxyz(5.1468, 8.8433, 2.2997)
Luminance0.0884 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266018 #521860
analogous
#4A6018 #266018 #18602E
triadic
#266018 #182660 #601826
tetradic
#266018 #184A60 #521860 #602E18
square
#266018 #184A60 #521860 #602E18
split-complementary
#266018 #2E1860 #60184A
monochromatic
#0A1806 #132F0C #266018 #399124 #4DC230

Accessibility & contrast

On white

7.58
#266018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #266018
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266018#FFFFFF#000000##FFFFFF
##2660181.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #266018;
/* rgb */ color: rgb(38, 96, 24);
/* oklch */ color: oklch(43.4% 0.120 140.1);
Tailwind
colors: {
  custom: {
    50: '#688e5a',
    500: '#266018',
    950: '#000000',
  },
}
SCSS
$custom: #266018;
$custom-light: #688e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#266018",
  "rgb": {
    "r": 38,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 108.333,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43437,
    "c": 0.12009,
    "h": 140.1
  },
  "luminance": 0.08844
}

Semantic roles & 50–950 ramp

primary
#266018
secondary
#853D96
accent
#45E3C4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #266018

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

Preview Lab → · Contrast checker → · Palette generator →

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