#25731A#25731A

#25731A is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.144 H 141.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#25731A
RGBrgb(37, 115, 26)
HSLhsl(113, 63%, 28%)
HSVhsv(113, 77%, 45%)
CMYKcmyk(67.8%, 0%, 77.4%, 54.9%)
CIE-LABlab(42.35, -41.14, 39.79)
CIE-LCHlch(42.35, 57.24, 135.95°)
OKLaboklab(48.95% -0.1123 0.0898)
OKLCHoklch(48.95% 0.144 141.4)
XYZxyz(7.0798, 12.7287, 3.0609)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25731A #681A73
analogous
#52731A #25731A #1A733B
triadic
#25731A #1A2573 #731A25
tetradic
#25731A #1A5273 #681A73 #733B1A
square
#25731A #1A5273 #681A73 #733B1A
split-complementary
#25731A #3B1A73 #731A52
monochromatic
#081906 #15410F #25731A #35A525 #49D236

Accessibility & contrast

On white

5.92
#25731A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#25731A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25731A
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25731A#FFFFFF#000000##FFFFFF
##25731A1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766808
Deuteranopia (green-blind)
#6D6223
Tritanopia (blue-blind)
#166F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #25731a;
/* rgb */ color: rgb(37, 115, 26);
/* oklch */ color: oklch(48.9% 0.144 141.4);
Tailwind
colors: {
  custom: {
    50: '#6b9c5d',
    500: '#25731a',
    950: '#000000',
  },
}
SCSS
$custom: #25731a;
$custom-light: #6b9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#25731a",
  "rgb": {
    "r": 37,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 112.584,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48947,
    "c": 0.1438,
    "h": 141.4
  },
  "luminance": 0.12729
}

Semantic roles & 50–950 ramp

primary
#25731A
secondary
#9B41A8
accent
#42E6D2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #25731A

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

Preview Lab → · Contrast checker → · Palette generator →

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