#266A1F#266A1F

#266A1F is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.4% C 0.128 H 141.8°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#266A1F
RGBrgb(38, 106, 31)
HSLhsl(114, 55%, 27%)
HSVhsv(114, 71%, 42%)
CMYKcmyk(64.2%, 0%, 70.8%, 58.4%)
CIE-LABlab(39.27, -36.97, 34.51)
CIE-LCHlch(39.27, 50.57, 136.97°)
OKLaboklab(46.42% -0.1008 0.0794)
OKLCHoklch(46.42% 0.128 141.8)
XYZxyz(6.2004, 10.8185, 3.0575)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266A1F #631F6A
analogous
#4C6A1F #266A1F #1F6A3E
triadic
#266A1F #1F266A #6A1F26
tetradic
#266A1F #1F4C6A #631F6A #6A3E1F
square
#266A1F #1F4C6A #631F6A #6A3E1F
split-complementary
#266A1F #3E1F6A #6A1F4C
monochromatic
#081807 #153B11 #266A1F #37992D #4AC63D

Accessibility & contrast

On white

6.64
#266A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#266A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266A1F
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266A1F#FFFFFF#000000##FFFFFF
##266A1F1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6015
Deuteranopia (green-blind)
#645A26
Tritanopia (blue-blind)
#1B675B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #266a1f;
/* rgb */ color: rgb(38, 106, 31);
/* oklch */ color: oklch(46.4% 0.128 141.8);
Tailwind
colors: {
  custom: {
    50: '#69955f',
    500: '#266a1f',
    950: '#000000',
  },
}
SCSS
$custom: #266a1f;
$custom-light: #69955f;
$custom-dark: #000000;
JSON
{
  "hex": "#266a1f",
  "rgb": {
    "r": 38,
    "g": 106,
    "b": 31
  },
  "hsl": {
    "h": 114.4,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.46422,
    "c": 0.12833,
    "h": 141.8
  },
  "luminance": 0.10819
}

Semantic roles & 50–950 ramp

primary
#266A1F
secondary
#96479E
accent
#4ADED0
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #266A1F

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

Preview Lab → · Contrast checker → · Palette generator →

#266A1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva