#264E12#264E12

#264E12 is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.1% C 0.099 H 137.2°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#264E12
RGBrgb(38, 78, 18)
HSLhsl(100, 63%, 19%)
HSVhsv(100, 77%, 31%)
CMYKcmyk(51.3%, 0%, 76.9%, 69.4%)
CIE-LABlab(29.17, -26.27, 29.72)
CIE-LCHlch(29.17, 39.67, 131.48°)
OKLaboklab(38.06% -0.0728 0.0675)
OKLCHoklch(38.06% 0.099 137.2)
XYZxyz(3.6328, 5.9043, 1.5204)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264E12 #3A124E
analogous
#444E12 #264E12 #124E1C
triadic
#264E12 #12264E #4E1226
tetradic
#264E12 #12444E #3A124E #4E1C12
square
#264E12 #12444E #3A124E #4E1C12
split-complementary
#264E12 #1C124E #4E1244
monochromatic
#0C1906 #0E1C07 #264E12 #3E801D #56B129

Accessibility & contrast

On white

9.63
#264E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#264E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264E12
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264E12#FFFFFF#000000##FFFFFF
##264E121.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514709
Deuteranopia (green-blind)
#4B4318
Tritanopia (blue-blind)
#244B42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #264e12;
/* rgb */ color: rgb(38, 78, 18);
/* oklch */ color: oklch(38.1% 0.099 137.2);
Tailwind
colors: {
  custom: {
    50: '#658054',
    500: '#264e12',
    950: '#000000',
  },
}
SCSS
$custom: #264e12;
$custom-light: #658054;
$custom-dark: #000000;
JSON
{
  "hex": "#264e12",
  "rgb": {
    "r": 38,
    "g": 78,
    "b": 18
  },
  "hsl": {
    "h": 100,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38061,
    "c": 0.09926,
    "h": 137.2
  },
  "luminance": 0.05905
}

Semantic roles & 50–950 ramp

primary
#264E12
secondary
#6C3587
accent
#42E6AF
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #264E12

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

Preview Lab → · Contrast checker → · Palette generator →

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