#25731E#25731E

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

Color values

HEX#25731E
RGBrgb(37, 115, 30)
HSLhsl(115, 59%, 28%)
HSVhsv(115, 74%, 45%)
CMYKcmyk(67.8%, 0%, 73.9%, 54.9%)
CIE-LABlab(42.38, -40.79, 38.22)
CIE-LCHlch(42.38, 55.90, 136.87°)
OKLaboklab(48.98% -0.1112 0.0871)
OKLCHoklch(48.98% 0.141 141.9)
XYZxyz(7.1276, 12.7478, 3.3130)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25731E #6C1E73
analogous
#4F731E #25731E #1E7341
triadic
#25731E #1E2573 #731E25
tetradic
#25731E #1E4F73 #6C1E73 #73411E
square
#25731E #1E4F73 #6C1E73 #73411E
split-complementary
#25731E #411E73 #731E4F
monochromatic
#081806 #154211 #25731E #35A42B #4ACD3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##25731E#FFFFFF#000000##FFFFFF
##25731E1.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)
#766810
Deuteranopia (green-blind)
#6C6226
Tritanopia (blue-blind)
#156F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #25731e;
/* rgb */ color: rgb(37, 115, 30);
/* oklch */ color: oklch(49.0% 0.141 141.9);
Tailwind
colors: {
  custom: {
    50: '#6b9c5f',
    500: '#25731e',
    950: '#000000',
  },
}
SCSS
$custom: #25731e;
$custom-light: #6b9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#25731e",
  "rgb": {
    "r": 37,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 115.059,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48981,
    "c": 0.1412,
    "h": 141.9
  },
  "luminance": 0.12749
}

Semantic roles & 50–950 ramp

primary
#25731E
secondary
#9F46A7
accent
#46E2D5
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #25731E

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

Preview Lab → · Contrast checker → · Palette generator →

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