#265D17#265D17

#265D17 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.5% C 0.117 H 139.8°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#265D17
RGBrgb(38, 93, 23)
HSLhsl(107, 60%, 23%)
HSVhsv(107, 75%, 36%)
CMYKcmyk(59.1%, 0%, 75.3%, 63.5%)
CIE-LABlab(34.60, -32.44, 33.14)
CIE-LCHlch(34.60, 46.37, 134.39°)
OKLaboklab(42.55% -0.0891 0.0754)
OKLCHoklch(42.55% 0.117 139.8)
XYZxyz(4.8681, 8.3022, 2.1564)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#265D17 #4E175D
analogous
#495D17 #265D17 #175D2B
triadic
#265D17 #17265D #5D1726
tetradic
#265D17 #17495D #4E175D #5D2B17
square
#265D17 #17495D #4E175D #5D2B17
split-complementary
#265D17 #2B175D #5D1749
monochromatic
#0A1906 #122C0B #265D17 #3A8E23 #4EBF2F

Accessibility & contrast

On white

7.89
#265D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#265D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #265D17
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##265D17#FFFFFF#000000##FFFFFF
##265D171.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60540C
Deuteranopia (green-blind)
#59501E
Tritanopia (blue-blind)
#205A4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #265d17;
/* rgb */ color: rgb(38, 93, 23);
/* oklch */ color: oklch(42.5% 0.117 139.8);
Tailwind
colors: {
  custom: {
    50: '#678b59',
    500: '#265d17',
    950: '#000000',
  },
}
SCSS
$custom: #265d17;
$custom-light: #678b59;
$custom-dark: #000000;
JSON
{
  "hex": "#265d17",
  "rgb": {
    "r": 38,
    "g": 93,
    "b": 23
  },
  "hsl": {
    "h": 107.143,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42547,
    "c": 0.11673,
    "h": 139.8
  },
  "luminance": 0.08303
}

Semantic roles & 50–950 ramp

primary
#265D17
secondary
#813C94
accent
#44E3C1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #265D17

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

Preview Lab → · Contrast checker → · Palette generator →

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