#25531B#25531B

#25531B is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.6% C 0.100 H 140.2°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#25531B
RGBrgb(37, 83, 27)
HSLhsl(109, 51%, 22%)
HSVhsv(109, 67%, 33%)
CMYKcmyk(55.4%, 0%, 67.5%, 67.5%)
CIE-LABlab(31.02, -27.96, 27.36)
CIE-LCHlch(31.02, 39.12, 135.63°)
OKLaboklab(39.59% -0.0766 0.0638)
OKLCHoklch(39.59% 0.1 140.2)
XYZxyz(4.0539, 6.6587, 2.1083)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25531B #491B53
analogous
#41531B #25531B #1B532D
triadic
#25531B #1B2553 #531B25
tetradic
#25531B #1B4153 #491B53 #532D1B
square
#25531B #1B4153 #491B53 #532D1B
split-complementary
#25531B #2D1B53 #531B41
monochromatic
#0A1708 #10250C #25531B #3A812A #4EAF39

Accessibility & contrast

On white

9.01
#25531B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#25531B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25531B
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25531B#FFFFFF#000000##FFFFFF
##25531B1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B15
Deuteranopia (green-blind)
#4F4720
Tritanopia (blue-blind)
#205047
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #25531b;
/* rgb */ color: rgb(37, 83, 27);
/* oklch */ color: oklch(39.6% 0.100 140.2);
Tailwind
colors: {
  custom: {
    50: '#64845a',
    500: '#25531b',
    950: '#000000',
  },
}
SCSS
$custom: #25531b;
$custom-light: #64845a;
$custom-dark: #000000;
JSON
{
  "hex": "#25531b",
  "rgb": {
    "r": 37,
    "g": 83,
    "b": 27
  },
  "hsl": {
    "h": 109.286,
    "s": 50.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.39594,
    "c": 0.09967,
    "h": 140.2
  },
  "luminance": 0.06659
}

Semantic roles & 50–950 ramp

primary
#25531B
secondary
#7C4189
accent
#4DDAC1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #25531B

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

Preview Lab → · Contrast checker → · Palette generator →

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