#264A17#264A17

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

Color values

HEX#264A17
RGBrgb(38, 74, 23)
HSLhsl(102, 53%, 19%)
HSVhsv(102, 69%, 29%)
CMYKcmyk(48.6%, 0%, 68.9%, 71%)
CIE-LABlab(27.77, -23.86, 25.79)
CIE-LCHlch(27.77, 35.14, 132.78°)
OKLaboklab(36.93% -0.0658 0.0599)
OKLCHoklch(36.93% 0.089 137.7)
XYZxyz(3.4027, 5.3713, 1.6679)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264A17 #3B174A
analogous
#404A17 #264A17 #174A22
triadic
#264A17 #17264A #4A1726
tetradic
#264A17 #17404A #3B174A #4A2217
square
#264A17 #17404A #3B174A #4A2217
split-complementary
#264A17 #22174A #4A1740
monochromatic
#0C1707 #0E1B08 #264A17 #3E7926 #56A734

Accessibility & contrast

On white

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

On black

2.07
#264A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##264A17#FFFFFF#000000##FFFFFF
##264A171.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #264a17;
/* rgb */ color: rgb(38, 74, 23);
/* oklch */ color: oklch(36.9% 0.089 137.7);
Tailwind
colors: {
  custom: {
    50: '#647d56',
    500: '#264a17',
    950: '#000000',
  },
}
SCSS
$custom: #264a17;
$custom-light: #647d56;
$custom-dark: #000000;
JSON
{
  "hex": "#264a17",
  "rgb": {
    "r": 38,
    "g": 74,
    "b": 23
  },
  "hsl": {
    "h": 102.353,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.36927,
    "c": 0.08903,
    "h": 137.7
  },
  "luminance": 0.05371
}

Semantic roles & 50–950 ramp

primary
#264A17
secondary
#6D3C81
accent
#4CDCB2
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#050903
muted
#7A7B78

Preview Lab

Preview with #264A17

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

Preview Lab → · Contrast checker → · Palette generator →

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