#25731D#25731D

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

Color values

HEX#25731D
RGBrgb(37, 115, 29)
HSLhsl(114, 60%, 28%)
HSVhsv(114, 75%, 45%)
CMYKcmyk(67.8%, 0%, 74.8%, 54.9%)
CIE-LABlab(42.37, -40.88, 38.62)
CIE-LCHlch(42.37, 56.24, 136.63°)
OKLaboklab(48.97% -0.1115 0.0878)
OKLCHoklch(48.97% 0.142 141.8)
XYZxyz(7.1151, 12.7428, 3.2468)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25731D #6B1D73
analogous
#50731D #25731D #1D7340
triadic
#25731D #1D2573 #731D25
tetradic
#25731D #1D5073 #6B1D73 #73401D
square
#25731D #1D5073 #6B1D73 #73401D
split-complementary
#25731D #401D73 #731D50
monochromatic
#081806 #154211 #25731D #35A429 #4ACE3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##25731D#FFFFFF#000000##FFFFFF
##25731D1.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)
#76680F
Deuteranopia (green-blind)
#6D6226
Tritanopia (blue-blind)
#166F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #25731d;
/* rgb */ color: rgb(37, 115, 29);
/* oklch */ color: oklch(49.0% 0.142 141.8);
Tailwind
colors: {
  custom: {
    50: '#6b9c5f',
    500: '#25731d',
    950: '#000000',
  },
}
SCSS
$custom: #25731d;
$custom-light: #6b9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#25731d",
  "rgb": {
    "r": 37,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 114.419,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48972,
    "c": 0.14187,
    "h": 141.8
  },
  "luminance": 0.12743
}

Semantic roles & 50–950 ramp

primary
#25731D
secondary
#9E45A7
accent
#45E3D4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #25731D

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

Preview Lab → · Contrast checker → · Palette generator →

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