#266812#266812

#266812 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.7% C 0.134 H 139.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#266812
RGBrgb(38, 104, 18)
HSLhsl(106, 70%, 24%)
HSVhsv(106, 83%, 41%)
CMYKcmyk(63.5%, 0%, 82.7%, 59.2%)
CIE-LABlab(38.47, -37.29, 38.94)
CIE-LCHlch(38.47, 53.91, 133.76°)
OKLaboklab(45.73% -0.1025 0.0868)
OKLCHoklch(45.73% 0.134 139.7)
XYZxyz(5.8586, 10.3558, 2.2623)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266812 #541268
analogous
#516812 #266812 #126829
triadic
#266812 #122668 #681226
tetradic
#266812 #125168 #541268 #682912
square
#266812 #125168 #541268 #682912
split-complementary
#266812 #291268 #681251
monochromatic
#0A1A05 #133409 #266812 #399C1B #4CD024

Accessibility & contrast

On white

6.84
#266812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#266812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266812
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266812#FFFFFF#000000##FFFFFF
##2668121.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#63591C
Tritanopia (blue-blind)
#1D6458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #266812;
/* rgb */ color: rgb(38, 104, 18);
/* oklch */ color: oklch(45.7% 0.134 139.7);
Tailwind
colors: {
  custom: {
    50: '#6a9458',
    500: '#266812',
    950: '#000000',
  },
}
SCSS
$custom: #266812;
$custom-light: #6a9458;
$custom-dark: #000000;
JSON
{
  "hex": "#266812",
  "rgb": {
    "r": 38,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 106.047,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45731,
    "c": 0.13429,
    "h": 139.7
  },
  "luminance": 0.10356
}

Semantic roles & 50–950 ramp

primary
#266812
secondary
#8736A0
accent
#3BEDC4
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #266812

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

Preview Lab → · Contrast checker → · Palette generator →

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