#25751D#25751D

#25751D is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.5% C 0.144 H 141.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#25751D
RGBrgb(37, 117, 29)
HSLhsl(115, 60%, 29%)
HSVhsv(115, 75%, 46%)
CMYKcmyk(68.4%, 0%, 75.2%, 54.1%)
CIE-LABlab(43.07, -41.63, 39.34)
CIE-LCHlch(43.07, 57.28, 136.62°)
OKLaboklab(49.55% -0.1135 0.0893)
OKLCHoklch(49.55% 0.144 141.8)
XYZxyz(7.3456, 13.2039, 3.3236)
Luminance0.1321 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25751D #6D1D75
analogous
#51751D #25751D #1D7541
triadic
#25751D #1D2575 #751D25
tetradic
#25751D #1D5175 #6D1D75 #75411D
square
#25751D #1D5175 #6D1D75 #75411D
split-complementary
#25751D #411D75 #751D51
monochromatic
#081906 #154411 #25751D #35A629 #4BCF3D

Accessibility & contrast

On white

5.77
#25751D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #25751D
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25751D#FFFFFF#000000##FFFFFF
##25751D1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A0E
Deuteranopia (green-blind)
#6E6326
Tritanopia (blue-blind)
#157164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #25751d;
/* rgb */ color: rgb(37, 117, 29);
/* oklch */ color: oklch(49.5% 0.144 141.8);
Tailwind
colors: {
  custom: {
    50: '#6c9e5f',
    500: '#25751d',
    950: '#000000',
  },
}
SCSS
$custom: #25751d;
$custom-light: #6c9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#25751d",
  "rgb": {
    "r": 37,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 114.545,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49548,
    "c": 0.14438,
    "h": 141.8
  },
  "luminance": 0.13205
}

Semantic roles & 50–950 ramp

primary
#25751D
secondary
#A045A9
accent
#44E3D5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #25751D

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

Preview Lab → · Contrast checker → · Palette generator →

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