#265E40#265E40

#265E40 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.5% C 0.078 H 157.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#265E40
RGBrgb(38, 94, 64)
HSLhsl(148, 42%, 26%)
HSVhsv(148, 60%, 37%)
CMYKcmyk(59.6%, 0%, 31.9%, 63.1%)
CIE-LABlab(35.57, -26.27, 11.79)
CIE-LCHlch(35.57, 28.79, 155.83°)
OKLaboklab(43.54% -0.0717 0.0299)
OKLCHoklch(43.54% 0.078 157.4)
XYZxyz(5.7270, 8.7871, 6.2438)
Luminance0.0879 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#265E40 #5E2644
analogous
#285E26 #265E40 #265E5C
triadic
#265E40 #40265E #5E4026
tetradic
#265E40 #26285E #5E2644 #5E5C26
square
#265E40 #26285E #5E2644 #5E5C26
split-complementary
#265E40 #5C265E #5E2628
monochromatic
#09160F #143222 #265E40 #388A5E #49B57B

Accessibility & contrast

On white

7.62
#265E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#265E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #265E40
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##265E40#FFFFFF#000000##FFFFFF
##265E401.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D573E
Deuteranopia (green-blind)
#555142
Tritanopia (blue-blind)
#135D56
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #265e40;
/* rgb */ color: rgb(38, 94, 64);
/* oklch */ color: oklch(43.5% 0.078 157.4);
Tailwind
colors: {
  custom: {
    50: '#668c75',
    500: '#265e40',
    950: '#000000',
  },
}
SCSS
$custom: #265e40;
$custom-light: #668c75;
$custom-dark: #000000;
JSON
{
  "hex": "#265e40",
  "rgb": {
    "r": 38,
    "g": 94,
    "b": 64
  },
  "hsl": {
    "h": 147.857,
    "s": 42.424,
    "l": 25.882
  },
  "oklch": {
    "l": 0.4354,
    "c": 0.07773,
    "h": 157.4
  },
  "luminance": 0.08788
}

Semantic roles & 50–950 ramp

primary
#265E40
secondary
#914F72
accent
#5698D2
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #265E40

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

Preview Lab → · Contrast checker → · Palette generator →

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