#266512#266512

#266512 is a dark, vivid green. Relative luminance 0.098; OKLCH L 44.9% C 0.130 H 139.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#266512
RGBrgb(38, 101, 18)
HSLhsl(106, 70%, 23%)
HSVhsv(106, 82%, 40%)
CMYKcmyk(62.4%, 0%, 82.2%, 60.4%)
CIE-LABlab(37.41, -36.11, 37.92)
CIE-LCHlch(37.41, 52.36, 133.60°)
OKLaboklab(44.85% -0.0993 0.0846)
OKLCHoklch(44.85% 0.13 139.6)
XYZxyz(5.5620, 9.7626, 2.1634)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266512 #511265
analogous
#4F6512 #266512 #126527
triadic
#266512 #122665 #651226
tetradic
#266512 #124F65 #511265 #652712
square
#266512 #124F65 #511265 #652712
split-complementary
#266512 #271265 #65124F
monochromatic
#0A1A05 #123109 #266512 #3A991B #4DCD25

Accessibility & contrast

On white

7.11
#266512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #266512
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266512#FFFFFF#000000##FFFFFF
##2665121.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#60561B
Tritanopia (blue-blind)
#1E6155
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #266512;
/* rgb */ color: rgb(38, 101, 18);
/* oklch */ color: oklch(44.9% 0.130 139.6);
Tailwind
colors: {
  custom: {
    50: '#699157',
    500: '#266512',
    950: '#000000',
  },
}
SCSS
$custom: #266512;
$custom-light: #699157;
$custom-dark: #000000;
JSON
{
  "hex": "#266512",
  "rgb": {
    "r": 38,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 105.542,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44854,
    "c": 0.13049,
    "h": 139.6
  },
  "luminance": 0.09763
}

Semantic roles & 50–950 ramp

primary
#266512
secondary
#84369D
accent
#3BEDC2
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #266512

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

Preview Lab → · Contrast checker → · Palette generator →

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