#264C2F#264C2F

#264C2F is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.9% C 0.066 H 150.0°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#264C2F
RGBrgb(38, 76, 47)
HSLhsl(134, 33%, 22%)
HSVhsv(134, 50%, 30%)
CMYKcmyk(50%, 0%, 38.2%, 70.2%)
CIE-LABlab(28.87, -20.98, 13.16)
CIE-LCHlch(28.87, 24.77, 147.90°)
OKLaboklab(37.95% -0.0571 0.033)
OKLCHoklch(37.95% 0.066 150)
XYZxyz(3.8966, 5.7859, 3.6002)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264C2F #4C2643
analogous
#304C26 #264C2F #264C42
triadic
#264C2F #2F264C #4C2F26
tetradic
#264C2F #26304C #4C2643 #4C4226
square
#264C2F #26304C #4C2643 #4C4226
split-complementary
#264C2F #42264C #4C2630
monochromatic
#0A140D #122316 #264C2F #3A7548 #4F9E61

Accessibility & contrast

On white

9.73
#264C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#264C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264C2F
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264C2F#FFFFFF#000000##FFFFFF
##264C2F1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C462D
Deuteranopia (green-blind)
#474331
Tritanopia (blue-blind)
#1F4B45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #264c2f;
/* rgb */ color: rgb(38, 76, 47);
/* oklch */ color: oklch(37.9% 0.066 150.0);
Tailwind
colors: {
  custom: {
    50: '#637e67',
    500: '#264c2f',
    950: '#000000',
  },
}
SCSS
$custom: #264c2f;
$custom-light: #637e67;
$custom-dark: #000000;
JSON
{
  "hex": "#264c2f",
  "rgb": {
    "r": 38,
    "g": 76,
    "b": 47
  },
  "hsl": {
    "h": 134.211,
    "s": 33.333,
    "l": 22.353
  },
  "oklch": {
    "l": 0.37947,
    "c": 0.06597,
    "h": 150
  },
  "luminance": 0.05786
}

Semantic roles & 50–950 ramp

primary
#264C2F
secondary
#7F4F74
accent
#5EB0C9
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#050A06
muted
#7A7C7A

Preview Lab

Preview with #264C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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