#25792F#25792F

#25792F is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.136 H 145.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#25792F
RGBrgb(37, 121, 47)
HSLhsl(127, 53%, 31%)
HSVhsv(127, 69%, 47%)
CMYKcmyk(69.4%, 0%, 61.2%, 52.5%)
CIE-LABlab(44.62, -41.15, 32.82)
CIE-LCHlch(44.62, 52.64, 141.42°)
OKLaboklab(50.89% -0.1113 0.0775)
OKLCHoklch(50.89% 0.136 145.1)
XYZxyz(8.1129, 14.2724, 5.0161)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25792F #79256F
analogous
#457925 #25792F #257959
triadic
#25792F #2F2579 #792F25
tetradic
#25792F #254579 #79256F #795925
square
#25792F #254579 #79256F #795925
split-complementary
#25792F #592579 #792545
monochromatic
#081B0B #174A1D #25792F #33A841 #4FC95E

Accessibility & contrast

On white

5.45
#25792F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#25792F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25792F
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25792F#FFFFFF#000000##FFFFFF
##25792F1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E27
Deuteranopia (green-blind)
#716735
Tritanopia (blue-blind)
#0B7669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #25792f;
/* rgb */ color: rgb(37, 121, 47);
/* oklch */ color: oklch(50.9% 0.136 145.1);
Tailwind
colors: {
  custom: {
    50: '#6ba16a',
    500: '#25792f',
    950: '#000000',
  },
}
SCSS
$custom: #25792f;
$custom-light: #6ba16a;
$custom-dark: #000000;
JSON
{
  "hex": "#25792f",
  "rgb": {
    "r": 37,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 127.143,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50887,
    "c": 0.1356,
    "h": 145.1
  },
  "luminance": 0.14273
}

Semantic roles & 50–950 ramp

primary
#25792F
secondary
#AB4EA0
accent
#4BCBDD
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #25792F

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

Preview Lab → · Contrast checker → · Palette generator →

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