#264E2A#264E2A

#264E2A is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.4% C 0.075 H 146.1°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#264E2A
RGBrgb(38, 78, 42)
HSLhsl(126, 34%, 23%)
HSVhsv(126, 51%, 31%)
CMYKcmyk(51.3%, 0%, 46.2%, 69.4%)
CIE-LABlab(29.48, -22.98, 17.05)
CIE-LCHlch(29.48, 28.61, 143.43°)
OKLaboklab(38.42% -0.0624 0.042)
OKLCHoklch(38.42% 0.075 146.1)
XYZxyz(3.9414, 6.0277, 3.1458)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264E2A #4E264A
analogous
#364E26 #264E2A #264E3E
triadic
#264E2A #2A264E #4E2A26
tetradic
#264E2A #26364E #4E264A #4E3E26
square
#264E2A #26364E #4E264A #4E3E26
split-complementary
#264E2A #3E264E #4E2636
monochromatic
#0A150B #122514 #264E2A #3A7740 #4EA056

Accessibility & contrast

On white

9.52
#264E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#264E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264E2A
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264E2A#FFFFFF#000000##FFFFFF
##264E2A1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4827
Deuteranopia (green-blind)
#49442C
Tritanopia (blue-blind)
#204C45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #264e2a;
/* rgb */ color: rgb(38, 78, 42);
/* oklch */ color: oklch(38.4% 0.075 146.1);
Tailwind
colors: {
  custom: {
    50: '#638064',
    500: '#264e2a',
    950: '#000000',
  },
}
SCSS
$custom: #264e2a;
$custom-light: #638064;
$custom-dark: #000000;
JSON
{
  "hex": "#264e2a",
  "rgb": {
    "r": 38,
    "g": 78,
    "b": 42
  },
  "hsl": {
    "h": 126,
    "s": 34.483,
    "l": 22.745
  },
  "oklch": {
    "l": 0.38419,
    "c": 0.07528,
    "h": 146.1
  },
  "luminance": 0.06028
}

Semantic roles & 50–950 ramp

primary
#264E2A
secondary
#814F7C
accent
#5DC0CB
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#050A05
muted
#7A7C7A

Preview Lab

Preview with #264E2A

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

Preview Lab → · Contrast checker → · Palette generator →

#264E2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva