#266012#266012

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

Color values

HEX#266012
RGBrgb(38, 96, 18)
HSLhsl(105, 68%, 22%)
HSVhsv(105, 81%, 38%)
CMYKcmyk(60.4%, 0%, 81.3%, 62.4%)
CIE-LABlab(35.64, -34.10, 36.20)
CIE-LCHlch(35.64, 49.73, 133.28°)
OKLaboklab(43.39% -0.0939 0.0811)
OKLCHoklch(43.39% 0.124 139.2)
XYZxyz(5.0912, 8.8211, 2.0065)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266012 #4C1260
analogous
#4D6012 #266012 #126025
triadic
#266012 #122660 #601226
tetradic
#266012 #124D60 #4C1260 #602512
square
#266012 #124D60 #4C1260 #602512
split-complementary
#266012 #251260 #60124D
monochromatic
#0A1A05 #122C08 #266012 #3A941C #4FC725

Accessibility & contrast

On white

7.60
#266012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#266012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #266012
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266012#FFFFFF#000000##FFFFFF
##2660121.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635702
Deuteranopia (green-blind)
#5C521B
Tritanopia (blue-blind)
#205D51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #266012;
/* rgb */ color: rgb(38, 96, 18);
/* oklch */ color: oklch(43.4% 0.124 139.2);
Tailwind
colors: {
  custom: {
    50: '#688e56',
    500: '#266012',
    950: '#000000',
  },
}
SCSS
$custom: #266012;
$custom-light: #688e56;
$custom-dark: #000000;
JSON
{
  "hex": "#266012",
  "rgb": {
    "r": 38,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 104.615,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43387,
    "c": 0.12404,
    "h": 139.2
  },
  "luminance": 0.08821
}

Semantic roles & 50–950 ramp

primary
#266012
secondary
#7F3698
accent
#3DEBBE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #266012

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

Preview Lab → · Contrast checker → · Palette generator →

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