#25741F#25741F

#25741F is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.142 H 142.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#25741F
RGBrgb(37, 116, 31)
HSLhsl(116, 58%, 29%)
HSVhsv(116, 73%, 45%)
CMYKcmyk(68.1%, 0%, 73.3%, 54.5%)
CIE-LABlab(42.74, -41.07, 38.17)
CIE-LCHlch(42.74, 56.07, 137.10°)
OKLaboklab(49.28% -0.1119 0.0871)
OKLCHoklch(49.28% 0.142 142.1)
XYZxyz(7.2553, 12.9823, 3.4195)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25741F #6E1F74
analogous
#50741F #25741F #1F7444
triadic
#25741F #1F2574 #741F25
tetradic
#25741F #1F5074 #6E1F74 #74441F
square
#25741F #1F5074 #6E1F74 #74441F
split-complementary
#25741F #441F74 #741F50
monochromatic
#081806 #164412 #25741F #34A42C #4BCC41

Accessibility & contrast

On white

5.84
#25741F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#25741F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25741F
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25741F#FFFFFF#000000##FFFFFF
##25741F1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776912
Deuteranopia (green-blind)
#6D6227
Tritanopia (blue-blind)
#157063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #25741f;
/* rgb */ color: rgb(37, 116, 31);
/* oklch */ color: oklch(49.3% 0.142 142.1);
Tailwind
colors: {
  custom: {
    50: '#6b9d60',
    500: '#25741f',
    950: '#000000',
  },
}
SCSS
$custom: #25741f;
$custom-light: #6b9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#25741f",
  "rgb": {
    "r": 37,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 115.765,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49278,
    "c": 0.14177,
    "h": 142.1
  },
  "luminance": 0.12983
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25741F

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

Preview Lab → · Contrast checker → · Palette generator →

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