#265B18#265B18

#265B18 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.0% C 0.113 H 139.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#265B18
RGBrgb(38, 91, 24)
HSLhsl(107, 58%, 23%)
HSVhsv(107, 74%, 36%)
CMYKcmyk(58.2%, 0%, 73.6%, 64.3%)
CIE-LABlab(33.90, -31.49, 31.96)
CIE-LCHlch(33.90, 44.87, 134.58°)
OKLaboklab(41.97% -0.0865 0.0731)
OKLCHoklch(41.97% 0.113 139.8)
XYZxyz(4.7051, 7.9598, 2.1524)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#265B18 #4D185B
analogous
#475B18 #265B18 #185B2C
triadic
#265B18 #18265B #5B1826
tetradic
#265B18 #18475B #4D185B #5B2C18
square
#265B18 #18475B #4D185B #5B2C18
split-complementary
#265B18 #2C185B #5B1847
monochromatic
#0A1806 #122B0B #265B18 #3A8B25 #4EBC32

Accessibility & contrast

On white

8.10
#265B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#265B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #265B18
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##265B18#FFFFFF#000000##FFFFFF
##265B181.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E520E
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#20584E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #265b18;
/* rgb */ color: rgb(38, 91, 24);
/* oklch */ color: oklch(42.0% 0.113 139.8);
Tailwind
colors: {
  custom: {
    50: '#678a59',
    500: '#265b18',
    950: '#000000',
  },
}
SCSS
$custom: #265b18;
$custom-light: #678a59;
$custom-dark: #000000;
JSON
{
  "hex": "#265b18",
  "rgb": {
    "r": 38,
    "g": 91,
    "b": 24
  },
  "hsl": {
    "h": 107.463,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41968,
    "c": 0.11321,
    "h": 139.8
  },
  "luminance": 0.0796
}

Semantic roles & 50–950 ramp

primary
#265B18
secondary
#803D92
accent
#46E1C1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #265B18

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

Preview Lab → · Contrast checker → · Palette generator →

#265B18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva