#266912#266912

#266912 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.0% C 0.136 H 139.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#266912
RGBrgb(38, 105, 18)
HSLhsl(106, 71%, 24%)
HSVhsv(106, 83%, 41%)
CMYKcmyk(63.8%, 0%, 82.9%, 58.8%)
CIE-LABlab(38.83, -37.68, 39.27)
CIE-LCHlch(38.83, 54.43, 133.81°)
OKLaboklab(46.02% -0.1035 0.0875)
OKLCHoklch(46.02% 0.136 139.8)
XYZxyz(5.9598, 10.5583, 2.2960)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266912 #551269
analogous
#526912 #266912 #12692A
triadic
#266912 #122669 #691226
tetradic
#266912 #125269 #551269 #692A12
square
#266912 #125269 #551269 #692A12
split-complementary
#266912 #2A1269 #691252
monochromatic
#091A04 #133509 #266912 #399D1B #4CD124

Accessibility & contrast

On white

6.75
#266912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#266912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266912
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266912#FFFFFF#000000##FFFFFF
##2669121.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#64591C
Tritanopia (blue-blind)
#1D6559
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #266912;
/* rgb */ color: rgb(38, 105, 18);
/* oklch */ color: oklch(46.0% 0.136 139.8);
Tailwind
colors: {
  custom: {
    50: '#6a9558',
    500: '#266912',
    950: '#000000',
  },
}
SCSS
$custom: #266912;
$custom-light: #6a9558;
$custom-dark: #000000;
JSON
{
  "hex": "#266912",
  "rgb": {
    "r": 38,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 106.207,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46023,
    "c": 0.13554,
    "h": 139.8
  },
  "luminance": 0.10559
}

Semantic roles & 50–950 ramp

primary
#266912
secondary
#8836A1
accent
#3AEDC4
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #266912

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

Preview Lab → · Contrast checker → · Palette generator →

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