#265B17#265B17

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

Color values

HEX#265B17
RGBrgb(38, 91, 23)
HSLhsl(107, 60%, 22%)
HSVhsv(107, 75%, 36%)
CMYKcmyk(58.2%, 0%, 74.7%, 64.3%)
CIE-LABlab(33.89, -31.59, 32.39)
CIE-LCHlch(33.89, 45.25, 134.28°)
OKLaboklab(41.96% -0.0868 0.0739)
OKLCHoklch(41.96% 0.114 139.6)
XYZxyz(4.6949, 7.9557, 2.0987)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#265B17 #4C175B
analogous
#485B17 #265B17 #175B2A
triadic
#265B17 #17265B #5B1726
tetradic
#265B17 #17485B #4C175B #5B2A17
square
#265B17 #17485B #4C175B #5B2A17
split-complementary
#265B17 #2A175B #5B1748
monochromatic
#0A1806 #122A0B #265B17 #3A8C23 #4FBD30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##265B17#FFFFFF#000000##FFFFFF
##265B171.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)
#5E520D
Deuteranopia (green-blind)
#574E1D
Tritanopia (blue-blind)
#20584D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #265b17;
/* rgb */ color: rgb(38, 91, 23);
/* oklch */ color: oklch(42.0% 0.114 139.6);
Tailwind
colors: {
  custom: {
    50: '#678a58',
    500: '#265b17',
    950: '#000000',
  },
}
SCSS
$custom: #265b17;
$custom-light: #678a58;
$custom-dark: #000000;
JSON
{
  "hex": "#265b17",
  "rgb": {
    "r": 38,
    "g": 91,
    "b": 23
  },
  "hsl": {
    "h": 106.765,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41958,
    "c": 0.11396,
    "h": 139.6
  },
  "luminance": 0.07956
}

Semantic roles & 50–950 ramp

primary
#265B17
secondary
#7F3C92
accent
#45E3C0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #265B17

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

Preview Lab → · Contrast checker → · Palette generator →

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