#25731F#25731F

#25731F is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.141 H 142.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#25731F
RGBrgb(37, 115, 31)
HSLhsl(116, 58%, 29%)
HSVhsv(116, 73%, 45%)
CMYKcmyk(67.8%, 0%, 73%, 54.9%)
CIE-LABlab(42.39, -40.70, 37.81)
CIE-LCHlch(42.39, 55.55, 137.11°)
OKLaboklab(48.99% -0.1109 0.0863)
OKLCHoklch(48.99% 0.141 142.1)
XYZxyz(7.1406, 12.7530, 3.3813)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25731F #6D1F73
analogous
#4F731F #25731F #1F7343
triadic
#25731F #1F2573 #731F25
tetradic
#25731F #1F4F73 #6D1F73 #73431F
square
#25731F #1F4F73 #6D1F73 #73431F
split-complementary
#25731F #431F73 #731F4F
monochromatic
#081806 #154312 #25731F #35A32C #4BCC41

Accessibility & contrast

On white

5.91
#25731F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #25731F
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25731F#FFFFFF#000000##FFFFFF
##25731F1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766812
Deuteranopia (green-blind)
#6C6227
Tritanopia (blue-blind)
#156F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #25731f;
/* rgb */ color: rgb(37, 115, 31);
/* oklch */ color: oklch(49.0% 0.141 142.1);
Tailwind
colors: {
  custom: {
    50: '#6b9c60',
    500: '#25731f',
    950: '#000000',
  },
}
SCSS
$custom: #25731f;
$custom-light: #6b9c60;
$custom-dark: #000000;
JSON
{
  "hex": "#25731f",
  "rgb": {
    "r": 37,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 115.714,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4899,
    "c": 0.1405,
    "h": 142.1
  },
  "luminance": 0.12754
}

Semantic roles & 50–950 ramp

primary
#25731F
secondary
#A047A7
accent
#47E1D6
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #25731F

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

Preview Lab → · Contrast checker → · Palette generator →

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