#264F1A#264F1A

#264F1A is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.4% C 0.094 H 139.2°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#264F1A
RGBrgb(38, 79, 26)
HSLhsl(106, 50%, 21%)
HSVhsv(106, 67%, 31%)
CMYKcmyk(51.9%, 0%, 67.1%, 69%)
CIE-LABlab(29.61, -25.90, 26.30)
CIE-LCHlch(29.61, 36.91, 134.56°)
OKLaboklab(38.45% -0.0711 0.0614)
OKLCHoklch(38.45% 0.094 139.2)
XYZxyz(3.7816, 6.0784, 1.9511)
Luminance0.0608 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264F1A #431A4F
analogous
#404F1A #264F1A #1A4F28
triadic
#264F1A #1A264F #4F1A26
tetradic
#264F1A #1A404F #431A4F #4F281A
square
#264F1A #1A404F #431A4F #4F281A
split-complementary
#264F1A #281A4F #4F1A40
monochromatic
#0B1708 #10210B #264F1A #3C7D29 #52AB38

Accessibility & contrast

On white

9.48
#264F1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#264F1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264F1A
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264F1A#FFFFFF#000000##FFFFFF
##264F1A1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514814
Deuteranopia (green-blind)
#4C441E
Tritanopia (blue-blind)
#234C44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #264f1a;
/* rgb */ color: rgb(38, 79, 26);
/* oklch */ color: oklch(38.4% 0.094 139.2);
Tailwind
colors: {
  custom: {
    50: '#648159',
    500: '#264f1a',
    950: '#000000',
  },
}
SCSS
$custom: #264f1a;
$custom-light: #648159;
$custom-dark: #000000;
JSON
{
  "hex": "#264f1a",
  "rgb": {
    "r": 38,
    "g": 79,
    "b": 26
  },
  "hsl": {
    "h": 106.415,
    "s": 50.476,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38447,
    "c": 0.09396,
    "h": 139.2
  },
  "luminance": 0.06079
}

Semantic roles & 50–950 ramp

primary
#264F1A
secondary
#754085
accent
#4EDABA
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #264F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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