#266915#266915

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

Color values

HEX#266915
RGBrgb(38, 105, 21)
HSLhsl(108, 67%, 25%)
HSVhsv(108, 80%, 41%)
CMYKcmyk(63.8%, 0%, 80%, 58.8%)
CIE-LABlab(38.84, -37.47, 38.22)
CIE-LCHlch(38.84, 53.52, 134.43°)
OKLaboklab(46.04% -0.1028 0.0857)
OKLCHoklch(46.04% 0.134 140.2)
XYZxyz(5.9860, 10.5688, 2.4339)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266915 #581569
analogous
#506915 #266915 #15692E
triadic
#266915 #152669 #691526
tetradic
#266915 #155069 #581569 #692E15
square
#266915 #155069 #581569 #692E15
split-complementary
#266915 #2E1569 #691550
monochromatic
#091A05 #14360B #266915 #389C1F #4BCF29

Accessibility & contrast

On white

6.74
#266915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #266915
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266915#FFFFFF#000000##FFFFFF
##2669151.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #266915;
/* rgb */ color: rgb(38, 105, 21);
/* oklch */ color: oklch(46.0% 0.134 140.2);
Tailwind
colors: {
  custom: {
    50: '#6a9559',
    500: '#266915',
    950: '#000000',
  },
}
SCSS
$custom: #266915;
$custom-light: #6a9559;
$custom-dark: #000000;
JSON
{
  "hex": "#266915",
  "rgb": {
    "r": 38,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 107.857,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46043,
    "c": 0.13385,
    "h": 140.2
  },
  "luminance": 0.10569
}

Semantic roles & 50–950 ramp

primary
#266915
secondary
#8B3AA0
accent
#3EEAC7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #266915

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

Preview Lab → · Contrast checker → · Palette generator →

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