#25831C#25831C

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

Color values

HEX#25831C
RGBrgb(37, 131, 28)
HSLhsl(115, 65%, 31%)
HSVhsv(115, 79%, 51%)
CMYKcmyk(71.8%, 0%, 78.6%, 48.6%)
CIE-LABlab(47.89, -46.75, 44.54)
CIE-LCHlch(47.89, 64.58, 136.39°)
OKLaboklab(53.54% -0.1274 0.1)
OKLCHoklch(53.54% 0.162 141.9)
XYZxyz(9.0883, 16.7088, 3.8445)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25831C #7A1C83
analogous
#58831C #25831C #1C8346
triadic
#25831C #1C2583 #831C25
tetradic
#25831C #1C5883 #7A1C83 #83461C
square
#25831C #1C5883 #7A1C83 #83461C
split-complementary
#25831C #461C83 #831C58
monochromatic
#091E06 #175111 #25831C #33B527 #50D743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##25831C#FFFFFF#000000##FFFFFF
##25831C1.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)
#867604
Deuteranopia (green-blind)
#7B6F28
Tritanopia (blue-blind)
#0C7F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #25831c;
/* rgb */ color: rgb(37, 131, 28);
/* oklch */ color: oklch(53.5% 0.162 141.9);
Tailwind
colors: {
  custom: {
    50: '#6fa860',
    500: '#25831c',
    950: '#000000',
  },
}
SCSS
$custom: #25831c;
$custom-light: #6fa860;
$custom-dark: #000000;
JSON
{
  "hex": "#25831c",
  "rgb": {
    "r": 37,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 114.757,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53544,
    "c": 0.16194,
    "h": 141.9
  },
  "luminance": 0.1671
}

Semantic roles & 50–950 ramp

primary
#25831C
secondary
#AC45B6
accent
#40E8D9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #25831C

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

Preview Lab → · Contrast checker → · Palette generator →

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