#25731B#25731B

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

Color values

HEX#25731B
RGBrgb(37, 115, 27)
HSLhsl(113, 62%, 28%)
HSVhsv(113, 77%, 45%)
CMYKcmyk(67.8%, 0%, 76.5%, 54.9%)
CIE-LABlab(42.36, -41.06, 39.41)
CIE-LCHlch(42.36, 56.91, 136.17°)
OKLaboklab(48.96% -0.1121 0.0891)
OKLCHoklch(48.96% 0.143 141.5)
XYZxyz(7.0911, 12.7332, 3.1208)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25731B #691B73
analogous
#51731B #25731B #1B733D
triadic
#25731B #1B2573 #731B25
tetradic
#25731B #1B5173 #691B73 #733D1B
square
#25731B #1B5173 #691B73 #733D1B
split-complementary
#25731B #3D1B73 #731B51
monochromatic
#081906 #15410F #25731B #35A527 #49D038

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #25731b;
/* rgb */ color: rgb(37, 115, 27);
/* oklch */ color: oklch(49.0% 0.143 141.5);
Tailwind
colors: {
  custom: {
    50: '#6b9c5e',
    500: '#25731b',
    950: '#000000',
  },
}
SCSS
$custom: #25731b;
$custom-light: #6b9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#25731b",
  "rgb": {
    "r": 37,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 113.182,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.48955,
    "c": 0.14318,
    "h": 141.5
  },
  "luminance": 0.12734
}

Semantic roles & 50–950 ramp

primary
#25731B
secondary
#9C42A8
accent
#43E5D3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #25731B

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

Preview Lab → · Contrast checker → · Palette generator →

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