#25541F#25541F

#25541F is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.9% C 0.097 H 141.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#25541F
RGBrgb(37, 84, 31)
HSLhsl(113, 46%, 23%)
HSVhsv(113, 63%, 33%)
CMYKcmyk(56%, 0%, 63.1%, 67.1%)
CIE-LABlab(31.42, -27.91, 25.73)
CIE-LCHlch(31.42, 37.96, 137.33°)
OKLaboklab(39.94% -0.0762 0.0607)
OKLCHoklch(39.94% 0.097 141.5)
XYZxyz(4.1804, 6.8326, 2.3946)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25541F #4E1F54
analogous
#3F541F #25541F #1F5434
triadic
#25541F #1F2554 #541F25
tetradic
#25541F #1F3F54 #4E1F54 #54341F
square
#25541F #1F3F54 #4E1F54 #54341F
split-complementary
#25541F #341F54 #541F3F
monochromatic
#0A1608 #11270F #25541F #39812F #4CAD40

Accessibility & contrast

On white

8.87
#25541F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#25541F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25541F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25541F#FFFFFF#000000##FFFFFF
##25541F1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C1A
Deuteranopia (green-blind)
#504823
Tritanopia (blue-blind)
#1F5148
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #25541f;
/* rgb */ color: rgb(37, 84, 31);
/* oklch */ color: oklch(39.9% 0.097 141.5);
Tailwind
colors: {
  custom: {
    50: '#64845c',
    500: '#25541f',
    950: '#000000',
  },
}
SCSS
$custom: #25541f;
$custom-light: #64845c;
$custom-dark: #000000;
JSON
{
  "hex": "#25541f",
  "rgb": {
    "r": 37,
    "g": 84,
    "b": 31
  },
  "hsl": {
    "h": 113.208,
    "s": 46.087,
    "l": 22.549
  },
  "oklch": {
    "l": 0.39942,
    "c": 0.09743,
    "h": 141.5
  },
  "luminance": 0.06833
}

Semantic roles & 50–950 ramp

primary
#25541F
secondary
#814689
accent
#52D6C7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #25541F

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

Preview Lab → · Contrast checker → · Palette generator →

#25541F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva