#266335#266335

#266335 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.7% C 0.097 H 149.0°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#266335
RGBrgb(38, 99, 53)
HSLhsl(135, 45%, 27%)
HSVhsv(135, 62%, 39%)
CMYKcmyk(61.6%, 0%, 46.5%, 61.2%)
CIE-LABlab(37.10, -30.87, 20.38)
CIE-LCHlch(37.10, 36.99, 146.57°)
OKLaboklab(44.72% -0.0835 0.0502)
OKLCHoklch(44.72% 0.097 149)
XYZxyz(5.9034, 9.5922, 4.9079)
Luminance0.0959 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266335 #632654
analogous
#366326 #266335 #266354
triadic
#266335 #352663 #633526
tetradic
#266335 #263663 #632654 #635426
square
#266335 #263663 #632654 #635426
split-complementary
#266335 #542663 #632636
monochromatic
#08160C #15371D #266335 #378F4D #4AB965

Accessibility & contrast

On white

7.20
#266335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#266335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #266335
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266335#FFFFFF#000000##FFFFFF
##2663351.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645B32
Deuteranopia (green-blind)
#5C5538
Tritanopia (blue-blind)
#176158
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #266335;
/* rgb */ color: rgb(38, 99, 53);
/* oklch */ color: oklch(44.7% 0.097 149.0);
Tailwind
colors: {
  custom: {
    50: '#67906d',
    500: '#266335',
    950: '#000000',
  },
}
SCSS
$custom: #266335;
$custom-light: #67906d;
$custom-dark: #000000;
JSON
{
  "hex": "#266335",
  "rgb": {
    "r": 38,
    "g": 99,
    "b": 53
  },
  "hsl": {
    "h": 134.754,
    "s": 44.526,
    "l": 26.863
  },
  "oklch": {
    "l": 0.44723,
    "c": 0.09741,
    "h": 149
  },
  "luminance": 0.09593
}

Semantic roles & 50–950 ramp

primary
#266335
secondary
#964F85
accent
#54B5D4
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #266335

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

Preview Lab → · Contrast checker → · Palette generator →

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