#264E2B#264E2B

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

Color values

HEX#264E2B
RGBrgb(38, 78, 43)
HSLhsl(128, 34%, 23%)
HSVhsv(128, 51%, 31%)
CMYKcmyk(51.3%, 0%, 44.9%, 69.4%)
CIE-LABlab(29.50, -22.79, 16.46)
CIE-LCHlch(29.50, 28.12, 144.16°)
OKLaboklab(38.44% -0.0619 0.0407)
OKLCHoklch(38.44% 0.074 146.7)
XYZxyz(3.9595, 6.0350, 3.2413)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264E2B #4E2649
analogous
#354E26 #264E2B #264E3F
triadic
#264E2B #2B264E #4E2B26
tetradic
#264E2B #26354E #4E2649 #4E3F26
square
#264E2B #26354E #4E2649 #4E3F26
split-complementary
#264E2B #3F264E #4E2635
monochromatic
#0A150B #122514 #264E2B #3A7742 #4EA058

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##264E2B#FFFFFF#000000##FFFFFF
##264E2B1.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)
#4F4828
Deuteranopia (green-blind)
#49442D
Tritanopia (blue-blind)
#204C45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #264e2b;
/* rgb */ color: rgb(38, 78, 43);
/* oklch */ color: oklch(38.4% 0.074 146.7);
Tailwind
colors: {
  custom: {
    50: '#638064',
    500: '#264e2b',
    950: '#000000',
  },
}
SCSS
$custom: #264e2b;
$custom-light: #638064;
$custom-dark: #000000;
JSON
{
  "hex": "#264e2b",
  "rgb": {
    "r": 38,
    "g": 78,
    "b": 43
  },
  "hsl": {
    "h": 127.5,
    "s": 34.483,
    "l": 22.745
  },
  "oklch": {
    "l": 0.38439,
    "c": 0.07412,
    "h": 146.7
  },
  "luminance": 0.06035
}

Semantic roles & 50–950 ramp

primary
#264E2B
secondary
#814F7B
accent
#5DBDCB
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#050A05
muted
#7A7C7A

Preview Lab

Preview with #264E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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