#25831A#25831A

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

Color values

HEX#25831A
RGBrgb(37, 131, 26)
HSLhsl(114, 67%, 31%)
HSVhsv(114, 80%, 51%)
CMYKcmyk(71.8%, 0%, 80.2%, 48.6%)
CIE-LABlab(47.88, -46.90, 45.22)
CIE-LCHlch(47.88, 65.15, 136.04°)
OKLaboklab(53.53% -0.1279 0.1011)
OKLCHoklch(53.53% 0.163 141.7)
XYZxyz(9.0652, 16.6995, 3.7227)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25831A #781A83
analogous
#59831A #25831A #1A8343
triadic
#25831A #1A2583 #831A25
tetradic
#25831A #1A5983 #781A83 #83431A
square
#25831A #1A5983 #781A83 #83431A
split-complementary
#25831A #431A83 #831A59
monochromatic
#081D06 #175010 #25831A #33B624 #4FD93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##25831A#FFFFFF#000000##FFFFFF
##25831A1.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)
#867600
Deuteranopia (green-blind)
#7B6F26
Tritanopia (blue-blind)
#0D7F6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #25831a;
/* rgb */ color: rgb(37, 131, 26);
/* oklch */ color: oklch(53.5% 0.163 141.7);
Tailwind
colors: {
  custom: {
    50: '#6fa85f',
    500: '#25831a',
    950: '#000000',
  },
}
SCSS
$custom: #25831a;
$custom-light: #6fa85f;
$custom-dark: #000000;
JSON
{
  "hex": "#25831a",
  "rgb": {
    "r": 37,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 113.714,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5353,
    "c": 0.16302,
    "h": 141.7
  },
  "luminance": 0.167
}

Semantic roles & 50–950 ramp

primary
#25831A
secondary
#AA42B7
accent
#3EEAD8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #25831A

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

Preview Lab → · Contrast checker → · Palette generator →

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