#266312#266312

#266312 is a dark, vivid green. Relative luminance 0.094; OKLCH L 44.3% C 0.128 H 139.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#266312
RGBrgb(38, 99, 18)
HSLhsl(105, 69%, 23%)
HSVhsv(105, 82%, 39%)
CMYKcmyk(61.6%, 0%, 81.8%, 61.2%)
CIE-LABlab(36.70, -35.31, 37.24)
CIE-LCHlch(36.70, 51.32, 133.48°)
OKLaboklab(44.27% -0.0972 0.0832)
OKLCHoklch(44.27% 0.128 139.4)
XYZxyz(5.3701, 9.3790, 2.0995)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266312 #4F1263
analogous
#4E6312 #266312 #126326
triadic
#266312 #122663 #631226
tetradic
#266312 #124E63 #4F1263 #632612
square
#266312 #124E63 #4F1263 #632612
split-complementary
#266312 #261263 #63124E
monochromatic
#0A1A05 #122F09 #266312 #3A971B #4ECB25

Accessibility & contrast

On white

7.30
#266312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#266312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #266312
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266312#FFFFFF#000000##FFFFFF
##2663121.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665901
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#1F5F54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #266312;
/* rgb */ color: rgb(38, 99, 18);
/* oklch */ color: oklch(44.3% 0.128 139.4);
Tailwind
colors: {
  custom: {
    50: '#699057',
    500: '#266312',
    950: '#000000',
  },
}
SCSS
$custom: #266312;
$custom-light: #699057;
$custom-dark: #000000;
JSON
{
  "hex": "#266312",
  "rgb": {
    "r": 38,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 105.185,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44268,
    "c": 0.12794,
    "h": 139.4
  },
  "luminance": 0.09379
}

Semantic roles & 50–950 ramp

primary
#266312
secondary
#82369B
accent
#3CECC1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #266312

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

Preview Lab → · Contrast checker → · Palette generator →

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