#25540F#25540F

#25540F is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.8% C 0.110 H 137.9°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#25540F
RGBrgb(37, 84, 15)
HSLhsl(101, 70%, 19%)
HSVhsv(101, 82%, 33%)
CMYKcmyk(56%, 0%, 82.1%, 67.1%)
CIE-LABlab(31.27, -29.57, 33.07)
CIE-LCHlch(31.27, 44.36, 131.80°)
OKLaboklab(39.77% -0.0818 0.0741)
OKLCHoklch(39.77% 0.11 137.9)
XYZxyz(4.0194, 6.7682, 1.5464)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25540F #3E0F54
analogous
#48540F #25540F #0F541C
triadic
#25540F #0F2554 #540F25
tetradic
#25540F #0F4854 #3E0F54 #541C0F
square
#25540F #0F4854 #3E0F54 #541C0F
split-complementary
#25540F #1C0F54 #540F48
monochromatic
#0B1A05 #0E2006 #25540F #3C8818 #53BC22

Accessibility & contrast

On white

8.92
#25540F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#25540F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25540F
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25540F#FFFFFF#000000##FFFFFF
##25540F1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C02
Deuteranopia (green-blind)
#514816
Tritanopia (blue-blind)
#215147
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #25540f;
/* rgb */ color: rgb(37, 84, 15);
/* oklch */ color: oklch(39.8% 0.110 137.9);
Tailwind
colors: {
  custom: {
    50: '#658453',
    500: '#25540f',
    950: '#000000',
  },
}
SCSS
$custom: #25540f;
$custom-light: #658453;
$custom-dark: #000000;
JSON
{
  "hex": "#25540f",
  "rgb": {
    "r": 37,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 100.87,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39771,
    "c": 0.11035,
    "h": 137.9
  },
  "luminance": 0.06768
}

Semantic roles & 50–950 ramp

primary
#25540F
secondary
#70318E
accent
#3BEDB4
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #25540F

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

Preview Lab → · Contrast checker → · Palette generator →

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