#25831F#25831F

#25831F is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.160 H 142.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#25831F
RGBrgb(37, 131, 31)
HSLhsl(116, 62%, 32%)
HSVhsv(116, 76%, 51%)
CMYKcmyk(71.8%, 0%, 76.3%, 48.6%)
CIE-LABlab(47.91, -46.52, 43.47)
CIE-LCHlch(47.91, 63.67, 136.94°)
OKLaboklab(53.57% -0.1266 0.0982)
OKLCHoklch(53.57% 0.16 142.2)
XYZxyz(9.1260, 16.7239, 4.0431)
Luminance0.1673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25831F #7D1F83
analogous
#57831F #25831F #1F834B
triadic
#25831F #1F2583 #831F25
tetradic
#25831F #1F5783 #7D1F83 #834B1F
square
#25831F #1F5783 #7D1F83 #834B1F
split-complementary
#25831F #4B1F83 #831F57
monochromatic
#092008 #175213 #25831F #33B42B #51D449

Accessibility & contrast

On white

4.83
#25831F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#25831F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25831F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25831F#FFFFFF#000000##FFFFFF
##25831F1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760B
Deuteranopia (green-blind)
#7B6F2A
Tritanopia (blue-blind)
#0B7F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #25831f;
/* rgb */ color: rgb(37, 131, 31);
/* oklch */ color: oklch(53.6% 0.160 142.2);
Tailwind
colors: {
  custom: {
    50: '#6fa862',
    500: '#25831f',
    950: '#000000',
  },
}
SCSS
$custom: #25831f;
$custom-light: #6fa862;
$custom-dark: #000000;
JSON
{
  "hex": "#25831f",
  "rgb": {
    "r": 37,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 116.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53566,
    "c": 0.1602,
    "h": 142.2
  },
  "luminance": 0.16725
}

Semantic roles & 50–950 ramp

primary
#25831F
secondary
#AF48B6
accent
#43E5DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #25831F

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

Preview Lab → · Contrast checker → · Palette generator →

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