#265E17#265E17

#265E17 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.118 H 139.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#265E17
RGBrgb(38, 94, 23)
HSLhsl(107, 61%, 23%)
HSVhsv(107, 76%, 37%)
CMYKcmyk(59.6%, 0%, 75.5%, 63.1%)
CIE-LABlab(34.96, -32.86, 33.51)
CIE-LCHlch(34.96, 46.93, 134.44°)
OKLaboklab(42.84% -0.0902 0.0762)
OKLCHoklch(42.84% 0.118 139.8)
XYZxyz(4.9565, 8.4789, 2.1859)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#265E17 #4F175E
analogous
#495E17 #265E17 #175E2B
triadic
#265E17 #17265E #5E1726
tetradic
#265E17 #17495E #4F175E #5E2B17
square
#265E17 #17495E #4F175E #5E2B17
split-complementary
#265E17 #2B175E #5E1749
monochromatic
#0A1906 #122D0B #265E17 #3A8F23 #4EC02F

Accessibility & contrast

On white

7.79
#265E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#265E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #265E17
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##265E17#FFFFFF#000000##FFFFFF
##265E171.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550C
Deuteranopia (green-blind)
#5A501E
Tritanopia (blue-blind)
#205B50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #265e17;
/* rgb */ color: rgb(38, 94, 23);
/* oklch */ color: oklch(42.8% 0.118 139.8);
Tailwind
colors: {
  custom: {
    50: '#678c59',
    500: '#265e17',
    950: '#000000',
  },
}
SCSS
$custom: #265e17;
$custom-light: #678c59;
$custom-dark: #000000;
JSON
{
  "hex": "#265e17",
  "rgb": {
    "r": 38,
    "g": 94,
    "b": 23
  },
  "hsl": {
    "h": 107.324,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42841,
    "c": 0.11809,
    "h": 139.8
  },
  "luminance": 0.08479
}

Semantic roles & 50–950 ramp

primary
#265E17
secondary
#823C95
accent
#44E4C2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #265E17

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

Preview Lab → · Contrast checker → · Palette generator →

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