#25782F#25782F

#25782F is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.134 H 145.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#25782F
RGBrgb(37, 120, 47)
HSLhsl(127, 53%, 31%)
HSVhsv(127, 69%, 47%)
CMYKcmyk(69.2%, 0%, 60.8%, 52.9%)
CIE-LABlab(44.28, -40.76, 32.42)
CIE-LCHlch(44.28, 52.09, 141.50°)
OKLaboklab(50.6% -0.1102 0.0767)
OKLCHoklch(50.6% 0.134 145.2)
XYZxyz(7.9920, 14.0307, 4.9758)
Luminance0.1403 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25782F #78256E
analogous
#447825 #25782F #257858
triadic
#25782F #2F2578 #782F25
tetradic
#25782F #254478 #78256E #785825
square
#25782F #254478 #78256E #785825
split-complementary
#25782F #582578 #782544
monochromatic
#081A0A #17491D #25782F #33A741 #4FC95D

Accessibility & contrast

On white

5.52
#25782F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#25782F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25782F
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25782F#FFFFFF#000000##FFFFFF
##25782F1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D28
Deuteranopia (green-blind)
#706635
Tritanopia (blue-blind)
#0C7568
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #25782f;
/* rgb */ color: rgb(37, 120, 47);
/* oklch */ color: oklch(50.6% 0.134 145.2);
Tailwind
colors: {
  custom: {
    50: '#6ba06a',
    500: '#25782f',
    950: '#000000',
  },
}
SCSS
$custom: #25782f;
$custom-light: #6ba06a;
$custom-dark: #000000;
JSON
{
  "hex": "#25782f",
  "rgb": {
    "r": 37,
    "g": 120,
    "b": 47
  },
  "hsl": {
    "h": 127.229,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50603,
    "c": 0.13426,
    "h": 145.2
  },
  "luminance": 0.14031
}

Semantic roles & 50–950 ramp

primary
#25782F
secondary
#AA4E9F
accent
#4CCBDC
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #25782F

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

Preview Lab → · Contrast checker → · Palette generator →

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