#25831B#25831B

#25831B is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.5% C 0.163 H 141.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#25831B
RGBrgb(37, 131, 27)
HSLhsl(114, 66%, 31%)
HSVhsv(114, 79%, 51%)
CMYKcmyk(71.8%, 0%, 79.4%, 48.6%)
CIE-LABlab(47.88, -46.83, 44.89)
CIE-LCHlch(47.88, 64.87, 136.21°)
OKLaboklab(53.54% -0.1277 0.1006)
OKLCHoklch(53.54% 0.163 141.8)
XYZxyz(9.0766, 16.7041, 3.7826)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25831B #791B83
analogous
#59831B #25831B #1B8345
triadic
#25831B #1B2583 #831B25
tetradic
#25831B #1B5983 #791B83 #83451B
square
#25831B #1B5983 #791B83 #83451B
split-complementary
#25831B #451B83 #831B59
monochromatic
#081E06 #175011 #25831B #33B625 #4FD841

Accessibility & contrast

On white

4.84
#25831B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#25831B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25831B
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25831B#FFFFFF#000000##FFFFFF
##25831B1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867602
Deuteranopia (green-blind)
#7B6F27
Tritanopia (blue-blind)
#0D7F6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #25831b;
/* rgb */ color: rgb(37, 131, 27);
/* oklch */ color: oklch(53.5% 0.163 141.8);
Tailwind
colors: {
  custom: {
    50: '#6fa860',
    500: '#25831b',
    950: '#000000',
  },
}
SCSS
$custom: #25831b;
$custom-light: #6fa860;
$custom-dark: #000000;
JSON
{
  "hex": "#25831b",
  "rgb": {
    "r": 37,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 114.231,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53537,
    "c": 0.1625,
    "h": 141.8
  },
  "luminance": 0.16705
}

Semantic roles & 50–950 ramp

primary
#25831B
secondary
#AB43B6
accent
#3FE9D8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #25831B

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

Preview Lab → · Contrast checker → · Palette generator →

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