#264A18#264A18

#264A18 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.9% C 0.088 H 138.0°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#264A18
RGBrgb(38, 74, 24)
HSLhsl(103, 51%, 19%)
HSVhsv(103, 68%, 29%)
CMYKcmyk(48.6%, 0%, 67.6%, 71%)
CIE-LABlab(27.78, -23.75, 25.28)
CIE-LCHlch(27.78, 34.68, 133.21°)
OKLaboklab(36.94% -0.0654 0.059)
OKLCHoklch(36.94% 0.088 138)
XYZxyz(3.4129, 5.3754, 1.7217)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264A18 #3C184A
analogous
#3F4A18 #264A18 #184A23
triadic
#264A18 #18264A #4A1826
tetradic
#264A18 #183F4A #3C184A #4A2318
square
#264A18 #183F4A #3C184A #4A2318
split-complementary
#264A18 #23184A #4A183F
monochromatic
#0C1707 #0E1C09 #264A18 #3E7827 #55A636

Accessibility & contrast

On white

10.12
#264A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#264A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264A18
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264A18#FFFFFF#000000##FFFFFF
##264A181.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4412
Deuteranopia (green-blind)
#48401C
Tritanopia (blue-blind)
#24473F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #264a18;
/* rgb */ color: rgb(38, 74, 24);
/* oklch */ color: oklch(36.9% 0.088 138.0);
Tailwind
colors: {
  custom: {
    50: '#647d57',
    500: '#264a18',
    950: '#000000',
  },
}
SCSS
$custom: #264a18;
$custom-light: #647d57;
$custom-dark: #000000;
JSON
{
  "hex": "#264a18",
  "rgb": {
    "r": 38,
    "g": 74,
    "b": 24
  },
  "hsl": {
    "h": 103.2,
    "s": 51.02,
    "l": 19.216
  },
  "oklch": {
    "l": 0.36939,
    "c": 0.08808,
    "h": 138
  },
  "luminance": 0.05376
}

Semantic roles & 50–950 ramp

primary
#264A18
secondary
#6E3D81
accent
#4DDAB3
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#050903
muted
#7A7B78

Preview Lab

Preview with #264A18

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

Preview Lab → · Contrast checker → · Palette generator →

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