#265F17#265F17

#265F17 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.1% C 0.119 H 139.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#265F17
RGBrgb(38, 95, 23)
HSLhsl(108, 61%, 23%)
HSVhsv(108, 76%, 37%)
CMYKcmyk(60%, 0%, 75.8%, 62.7%)
CIE-LABlab(35.32, -33.27, 33.88)
CIE-LCHlch(35.32, 47.48, 134.49°)
OKLaboklab(43.13% -0.0913 0.077)
OKLCHoklch(43.13% 0.119 139.9)
XYZxyz(5.0460, 8.6579, 2.2157)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#265F17 #50175F
analogous
#4A5F17 #265F17 #175F2C
triadic
#265F17 #17265F #5F1726
tetradic
#265F17 #174A5F #50175F #5F2C17
square
#265F17 #174A5F #50175F #5F2C17
split-complementary
#265F17 #2C175F #5F174A
monochromatic
#0A1906 #122E0B #265F17 #3A9023 #4DC22F

Accessibility & contrast

On white

7.69
#265F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#265F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #265F17
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##265F17#FFFFFF#000000##FFFFFF
##265F171.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560B
Deuteranopia (green-blind)
#5B511E
Tritanopia (blue-blind)
#1F5C51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #265f17;
/* rgb */ color: rgb(38, 95, 23);
/* oklch */ color: oklch(43.1% 0.119 139.9);
Tailwind
colors: {
  custom: {
    50: '#688d59',
    500: '#265f17',
    950: '#000000',
  },
}
SCSS
$custom: #265f17;
$custom-light: #688d59;
$custom-dark: #000000;
JSON
{
  "hex": "#265f17",
  "rgb": {
    "r": 38,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 107.5,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43134,
    "c": 0.11945,
    "h": 139.9
  },
  "luminance": 0.08658
}

Semantic roles & 50–950 ramp

primary
#265F17
secondary
#833C96
accent
#44E4C3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #265F17

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

Preview Lab → · Contrast checker → · Palette generator →

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