#266331#266331

#266331 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.6% C 0.102 H 147.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#266331
RGBrgb(38, 99, 49)
HSLhsl(131, 45%, 27%)
HSVhsv(131, 62%, 39%)
CMYKcmyk(61.6%, 0%, 50.5%, 61.2%)
CIE-LABlab(37.04, -31.58, 22.58)
CIE-LCHlch(37.04, 38.82, 144.43°)
OKLaboklab(44.65% -0.0854 0.055)
OKLCHoklch(44.65% 0.102 147.2)
XYZxyz(5.8152, 9.5570, 4.4434)
Luminance0.0956 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266331 #632658
analogous
#3A6326 #266331 #266350
triadic
#266331 #312663 #633126
tetradic
#266331 #263A63 #632658 #635026
square
#266331 #263A63 #632658 #635026
split-complementary
#266331 #502663 #63263A
monochromatic
#08160B #15371B #266331 #378F47 #4AB95E

Accessibility & contrast

On white

7.21
#266331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#266331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #266331
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266331#FFFFFF#000000##FFFFFF
##2663311.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645A2D
Deuteranopia (green-blind)
#5C5534
Tritanopia (blue-blind)
#186157
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #266331;
/* rgb */ color: rgb(38, 99, 49);
/* oklch */ color: oklch(44.6% 0.102 147.2);
Tailwind
colors: {
  custom: {
    50: '#67906a',
    500: '#266331',
    950: '#000000',
  },
}
SCSS
$custom: #266331;
$custom-light: #67906a;
$custom-dark: #000000;
JSON
{
  "hex": "#266331",
  "rgb": {
    "r": 38,
    "g": 99,
    "b": 49
  },
  "hsl": {
    "h": 130.82,
    "s": 44.526,
    "l": 26.863
  },
  "oklch": {
    "l": 0.44648,
    "c": 0.10163,
    "h": 147.2
  },
  "luminance": 0.09558
}

Semantic roles & 50–950 ramp

primary
#266331
secondary
#964F89
accent
#54BDD4
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #266331

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

Preview Lab → · Contrast checker → · Palette generator →

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