#266121#266121

#266121 is a dark, moderate green. Relative luminance 0.091; OKLCH L 43.8% C 0.114 H 142.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#266121
RGBrgb(38, 97, 33)
HSLhsl(115, 49%, 25%)
HSVhsv(115, 66%, 38%)
CMYKcmyk(60.8%, 0%, 66%, 62%)
CIE-LABlab(36.12, -33.06, 30.08)
CIE-LCHlch(36.12, 44.70, 137.70°)
OKLaboklab(43.83% -0.0901 0.0703)
OKLCHoklch(43.83% 0.114 142.1)
XYZxyz(5.3483, 9.0708, 2.9075)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266121 #5C2161
analogous
#466121 #266121 #21613C
triadic
#266121 #212661 #612126
tetradic
#266121 #214661 #5C2161 #613C21
square
#266121 #214661 #5C2161 #613C21
split-complementary
#266121 #3C2161 #612146
monochromatic
#091708 #143311 #266121 #388F31 #4ABC40

Accessibility & contrast

On white

7.46
#266121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#266121 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #266121
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266121#FFFFFF#000000##FFFFFF
##2661211.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63581A
Deuteranopia (green-blind)
#5C5326
Tritanopia (blue-blind)
#1D5E53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #266121;
/* rgb */ color: rgb(38, 97, 33);
/* oklch */ color: oklch(43.8% 0.114 142.1);
Tailwind
colors: {
  custom: {
    50: '#678e5f',
    500: '#266121',
    950: '#000000',
  },
}
SCSS
$custom: #266121;
$custom-light: #678e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#266121",
  "rgb": {
    "r": 38,
    "g": 97,
    "b": 33
  },
  "hsl": {
    "h": 115.313,
    "s": 49.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.43827,
    "c": 0.11425,
    "h": 142.1
  },
  "luminance": 0.09071
}

Semantic roles & 50–950 ramp

primary
#266121
secondary
#8F4995
accent
#4FD9CE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #266121

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

Preview Lab → · Contrast checker → · Palette generator →

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