#25751F#25751F

#25751F is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.143 H 142.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#25751F
RGBrgb(37, 117, 31)
HSLhsl(116, 58%, 29%)
HSVhsv(116, 74%, 46%)
CMYKcmyk(68.4%, 0%, 73.5%, 54.1%)
CIE-LABlab(43.08, -41.45, 38.53)
CIE-LCHlch(43.08, 56.59, 137.09°)
OKLaboklab(49.57% -0.1129 0.0878)
OKLCHoklch(49.57% 0.143 142.1)
XYZxyz(7.3712, 13.2141, 3.4582)
Luminance0.1321 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25751F #6F1F75
analogous
#50751F #25751F #1F7544
triadic
#25751F #1F2575 #751F25
tetradic
#25751F #1F5075 #6F1F75 #75441F
square
#25751F #1F5075 #6F1F75 #75441F
split-complementary
#25751F #441F75 #751F50
monochromatic
#081806 #164512 #25751F #34A52C #4BCD42

Accessibility & contrast

On white

5.76
#25751F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#25751F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25751F
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25751F#FFFFFF#000000##FFFFFF
##25751F1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A11
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#147164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #25751f;
/* rgb */ color: rgb(37, 117, 31);
/* oklch */ color: oklch(49.6% 0.143 142.1);
Tailwind
colors: {
  custom: {
    50: '#6b9e60',
    500: '#25751f',
    950: '#000000',
  },
}
SCSS
$custom: #25751f;
$custom-light: #6b9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#25751f",
  "rgb": {
    "r": 37,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 115.814,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49566,
    "c": 0.14304,
    "h": 142.1
  },
  "luminance": 0.13215
}

Semantic roles & 50–950 ramp

primary
#25751F
secondary
#A247A9
accent
#46E1D7
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #25751F

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

Preview Lab → · Contrast checker → · Palette generator →

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