#25821F#25821F

#25821F is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.3% C 0.159 H 142.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#25821F
RGBrgb(37, 130, 31)
HSLhsl(116, 61%, 32%)
HSVhsv(116, 76%, 51%)
CMYKcmyk(71.5%, 0%, 76.2%, 49%)
CIE-LABlab(47.57, -46.17, 43.12)
CIE-LCHlch(47.57, 63.17, 136.95°)
OKLaboklab(53.28% -0.1257 0.0974)
OKLCHoklch(53.28% 0.159 142.2)
XYZxyz(8.9924, 16.4565, 3.9986)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25821F #7C1F82
analogous
#57821F #25821F #1F824B
triadic
#25821F #1F2582 #821F25
tetradic
#25821F #1F5782 #7C1F82 #824B1F
square
#25821F #1F5782 #7C1F82 #824B1F
split-complementary
#25821F #4B1F82 #821F57
monochromatic
#091F07 #175113 #25821F #33B32B #50D348

Accessibility & contrast

On white

4.89
#25821F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#25821F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25821F
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25821F#FFFFFF#000000##FFFFFF
##25821F1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750C
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#0C7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #25821f;
/* rgb */ color: rgb(37, 130, 31);
/* oklch */ color: oklch(53.3% 0.159 142.2);
Tailwind
colors: {
  custom: {
    50: '#6ea762',
    500: '#25821f',
    950: '#000000',
  },
}
SCSS
$custom: #25821f;
$custom-light: #6ea762;
$custom-dark: #000000;
JSON
{
  "hex": "#25821f",
  "rgb": {
    "r": 37,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 116.364,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53282,
    "c": 0.15901,
    "h": 142.2
  },
  "luminance": 0.16458
}

Semantic roles & 50–950 ramp

primary
#25821F
secondary
#AE48B5
accent
#43E5DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #25821F

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

Preview Lab → · Contrast checker → · Palette generator →

#25821F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva