#25841B#25841B

#25841B is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.8% C 0.164 H 141.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#25841B
RGBrgb(37, 132, 27)
HSLhsl(114, 66%, 31%)
HSVhsv(114, 80%, 52%)
CMYKcmyk(72%, 0%, 79.5%, 48.2%)
CIE-LABlab(48.23, -47.17, 45.22)
CIE-LCHlch(48.23, 65.35, 136.21°)
OKLaboklab(53.82% -0.1286 0.1012)
OKLCHoklch(53.82% 0.164 141.8)
XYZxyz(9.2115, 16.9740, 3.8275)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25841B #7A1B84
analogous
#59841B #25841B #1B8445
triadic
#25841B #1B2584 #841B25
tetradic
#25841B #1B5984 #7A1B84 #84451B
square
#25841B #1B5984 #7A1B84 #84451B
split-complementary
#25841B #451B84 #841B59
monochromatic
#091E06 #175111 #25841B #33B725 #50D841

Accessibility & contrast

On white

4.78
#25841B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#25841B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25841B
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25841B#FFFFFF#000000##FFFFFF
##25841B1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877701
Deuteranopia (green-blind)
#7C7027
Tritanopia (blue-blind)
#0C8070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #25841b;
/* rgb */ color: rgb(37, 132, 27);
/* oklch */ color: oklch(53.8% 0.164 141.8);
Tailwind
colors: {
  custom: {
    50: '#6fa960',
    500: '#25841b',
    950: '#000000',
  },
}
SCSS
$custom: #25841b;
$custom-light: #6fa960;
$custom-dark: #000000;
JSON
{
  "hex": "#25841b",
  "rgb": {
    "r": 37,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 114.286,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53821,
    "c": 0.16366,
    "h": 141.8
  },
  "luminance": 0.16975
}

Semantic roles & 50–950 ramp

primary
#25841B
secondary
#AC43B7
accent
#3FE9D9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #25841B

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

Preview Lab → · Contrast checker → · Palette generator →

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