#266F2E#266F2E

#266F2E is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.122 H 145.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#266F2E
RGBrgb(38, 111, 46)
HSLhsl(127, 49%, 29%)
HSVhsv(127, 66%, 44%)
CMYKcmyk(65.8%, 0%, 58.6%, 56.5%)
CIE-LABlab(41.18, -37.12, 29.29)
CIE-LCHlch(41.18, 47.28, 141.72°)
OKLaboklab(48.05% -0.1005 0.0698)
OKLCHoklch(48.05% 0.122 145.2)
XYZxyz(6.9765, 11.9775, 4.5285)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266F2E #6F2667
analogous
#436F26 #266F2E #266F53
triadic
#266F2E #2E266F #6F2E26
tetradic
#266F2E #26436F #6F2667 #6F5326
square
#266F2E #26436F #6F2667 #6F5326
split-complementary
#266F2E #53266F #6F2643
monochromatic
#081709 #16411B #266F2E #369D41 #4DC25A

Accessibility & contrast

On white

6.18
#266F2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#266F2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266F2E
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266F2E#FFFFFF#000000##FFFFFF
##266F2E1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716528
Deuteranopia (green-blind)
#685F33
Tritanopia (blue-blind)
#156C61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #266f2e;
/* rgb */ color: rgb(38, 111, 46);
/* oklch */ color: oklch(48.0% 0.122 145.2);
Tailwind
colors: {
  custom: {
    50: '#6a9969',
    500: '#266f2e',
    950: '#000000',
  },
}
SCSS
$custom: #266f2e;
$custom-light: #6a9969;
$custom-dark: #000000;
JSON
{
  "hex": "#266f2e",
  "rgb": {
    "r": 38,
    "g": 111,
    "b": 46
  },
  "hsl": {
    "h": 126.575,
    "s": 48.993,
    "l": 29.216
  },
  "oklch": {
    "l": 0.48049,
    "c": 0.12231,
    "h": 145.2
  },
  "luminance": 0.11978
}

Semantic roles & 50–950 ramp

primary
#266F2E
secondary
#A24F99
accent
#4FC9D9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #266F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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