#25511B#25511B

#25511B is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.097 H 140.1°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#25511B
RGBrgb(37, 81, 27)
HSLhsl(109, 50%, 21%)
HSVhsv(109, 67%, 32%)
CMYKcmyk(54.3%, 0%, 66.7%, 68.2%)
CIE-LABlab(30.30, -27.05, 26.54)
CIE-LCHlch(30.30, 37.90, 135.54°)
OKLaboklab(39% -0.0741 0.062)
OKLCHoklch(39% 0.097 140.1)
XYZxyz(3.9030, 6.3570, 2.0581)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25511B #471B51
analogous
#40511B #25511B #1B512C
triadic
#25511B #1B2551 #511B25
tetradic
#25511B #1B4051 #471B51 #512C1B
square
#25511B #1B4051 #471B51 #512C1B
split-complementary
#25511B #2C1B51 #511B40
monochromatic
#0A1708 #10230C #25511B #3A7F2A #4FAD3A

Accessibility & contrast

On white

9.25
#25511B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#25511B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25511B
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25511B#FFFFFF#000000##FFFFFF
##25511B1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A15
Deuteranopia (green-blind)
#4D461F
Tritanopia (blue-blind)
#214E45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #25511b;
/* rgb */ color: rgb(37, 81, 27);
/* oklch */ color: oklch(39.0% 0.097 140.1);
Tailwind
colors: {
  custom: {
    50: '#64825a',
    500: '#25511b',
    950: '#000000',
  },
}
SCSS
$custom: #25511b;
$custom-light: #64825a;
$custom-dark: #000000;
JSON
{
  "hex": "#25511b",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 27
  },
  "hsl": {
    "h": 108.889,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39001,
    "c": 0.09665,
    "h": 140.1
  },
  "luminance": 0.06357
}

Semantic roles & 50–950 ramp

primary
#25511B
secondary
#7A4187
accent
#4EDAC0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #25511B

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

Preview Lab → · Contrast checker → · Palette generator →

#25511B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva