#25841C#25841C

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

Color values

HEX#25841C
RGBrgb(37, 132, 28)
HSLhsl(115, 65%, 31%)
HSVhsv(115, 79%, 52%)
CMYKcmyk(72%, 0%, 78.8%, 48.2%)
CIE-LABlab(48.23, -47.10, 44.88)
CIE-LCHlch(48.23, 65.06, 136.38°)
OKLaboklab(53.83% -0.1283 0.1007)
OKLCHoklch(53.83% 0.163 141.9)
XYZxyz(9.2233, 16.9787, 3.8895)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25841C #7B1C84
analogous
#59841C #25841C #1C8447
triadic
#25841C #1C2584 #841C25
tetradic
#25841C #1C5984 #7B1C84 #84471C
square
#25841C #1C5984 #7B1C84 #84471C
split-complementary
#25841C #471C84 #841C59
monochromatic
#091F07 #175211 #25841C #33B627 #50D743

Accessibility & contrast

On white

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

On black

4.40
#25841C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##25841C#FFFFFF#000000##FFFFFF
##25841C1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877703
Deuteranopia (green-blind)
#7C7028
Tritanopia (blue-blind)
#0B8070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #25841c;
/* rgb */ color: rgb(37, 132, 28);
/* oklch */ color: oklch(53.8% 0.163 141.9);
Tailwind
colors: {
  custom: {
    50: '#6fa961',
    500: '#25841c',
    950: '#000000',
  },
}
SCSS
$custom: #25841c;
$custom-light: #6fa961;
$custom-dark: #000000;
JSON
{
  "hex": "#25841c",
  "rgb": {
    "r": 37,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 114.808,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53828,
    "c": 0.16311,
    "h": 141.9
  },
  "luminance": 0.1698
}

Semantic roles & 50–950 ramp

primary
#25841C
secondary
#AD45B7
accent
#40E8D9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #25841C

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

Preview Lab → · Contrast checker → · Palette generator →

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