#25751B#25751B

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

Color values

HEX#25751B
RGBrgb(37, 117, 27)
HSLhsl(113, 63%, 28%)
HSVhsv(113, 77%, 46%)
CMYKcmyk(68.4%, 0%, 76.9%, 54.1%)
CIE-LABlab(43.05, -41.80, 40.11)
CIE-LCHlch(43.05, 57.93, 136.18°)
OKLaboklab(49.53% -0.1141 0.0906)
OKLCHoklch(49.53% 0.146 141.5)
XYZxyz(7.3217, 13.1943, 3.1976)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25751B #6B1B75
analogous
#52751B #25751B #1B753E
triadic
#25751B #1B2575 #751B25
tetradic
#25751B #1B5275 #6B1B75 #753E1B
square
#25751B #1B5275 #6B1B75 #753E1B
split-complementary
#25751B #3E1B75 #751B52
monochromatic
#081906 #154310 #25751B #35A726 #4AD139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##25751B#FFFFFF#000000##FFFFFF
##25751B1.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)
#786A0A
Deuteranopia (green-blind)
#6E6324
Tritanopia (blue-blind)
#157164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #25751b;
/* rgb */ color: rgb(37, 117, 27);
/* oklch */ color: oklch(49.5% 0.146 141.5);
Tailwind
colors: {
  custom: {
    50: '#6c9e5e',
    500: '#25751b',
    950: '#000000',
  },
}
SCSS
$custom: #25751b;
$custom-light: #6c9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#25751b",
  "rgb": {
    "r": 37,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 113.333,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49532,
    "c": 0.14567,
    "h": 141.5
  },
  "luminance": 0.13195
}

Semantic roles & 50–950 ramp

primary
#25751B
secondary
#9E42A9
accent
#42E6D3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #25751B

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

Preview Lab → · Contrast checker → · Palette generator →

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