#264F18#264F18

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

Color values

HEX#264F18
RGBrgb(38, 79, 24)
HSLhsl(105, 53%, 20%)
HSVhsv(105, 70%, 31%)
CMYKcmyk(51.9%, 0%, 69.6%, 69%)
CIE-LABlab(29.59, -26.13, 27.30)
CIE-LCHlch(29.59, 37.79, 133.75°)
OKLaboklab(38.42% -0.0719 0.0633)
OKLCHoklch(38.42% 0.096 138.7)
XYZxyz(3.7600, 6.0697, 1.8374)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264F18 #41184F
analogous
#414F18 #264F18 #184F25
triadic
#264F18 #18264F #4F1826
tetradic
#264F18 #18414F #41184F #4F2518
square
#264F18 #18414F #41184F #4F2518
split-complementary
#264F18 #25184F #4F1841
monochromatic
#0B1707 #0F200A #264F18 #3D7E26 #53AD35

Accessibility & contrast

On white

9.49
#264F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#264F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264F18
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264F18#FFFFFF#000000##FFFFFF
##264F181.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524811
Deuteranopia (green-blind)
#4C441D
Tritanopia (blue-blind)
#234C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #264f18;
/* rgb */ color: rgb(38, 79, 24);
/* oklch */ color: oklch(38.4% 0.096 138.7);
Tailwind
colors: {
  custom: {
    50: '#648157',
    500: '#264f18',
    950: '#000000',
  },
}
SCSS
$custom: #264f18;
$custom-light: #648157;
$custom-dark: #000000;
JSON
{
  "hex": "#264f18",
  "rgb": {
    "r": 38,
    "g": 79,
    "b": 24
  },
  "hsl": {
    "h": 104.727,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38422,
    "c": 0.09578,
    "h": 138.7
  },
  "luminance": 0.0607
}

Semantic roles & 50–950 ramp

primary
#264F18
secondary
#733D86
accent
#4BDDB8
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #264F18

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

Preview Lab → · Contrast checker → · Palette generator →

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