#25821B#25821B

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

Color values

HEX#25821B
RGBrgb(37, 130, 27)
HSLhsl(114, 66%, 31%)
HSVhsv(114, 79%, 51%)
CMYKcmyk(71.5%, 0%, 79.2%, 49%)
CIE-LABlab(47.54, -46.48, 44.55)
CIE-LCHlch(47.54, 64.38, 136.21°)
OKLaboklab(53.25% -0.1267 0.0999)
OKLCHoklch(53.25% 0.161 141.8)
XYZxyz(8.9429, 16.4368, 3.7380)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25821B #781B82
analogous
#58821B #25821B #1B8244
triadic
#25821B #1B2582 #821B25
tetradic
#25821B #1B5882 #781B82 #82441B
square
#25821B #1B5882 #781B82 #82441B
split-complementary
#25821B #441B82 #821B58
monochromatic
#081D06 #174F10 #25821B #33B526 #4FD740

Accessibility & contrast

On white

4.90
#25821B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #25821B
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25821B#FFFFFF#000000##FFFFFF
##25821B1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857502
Deuteranopia (green-blind)
#7B6E27
Tritanopia (blue-blind)
#0D7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #25821b;
/* rgb */ color: rgb(37, 130, 27);
/* oklch */ color: oklch(53.3% 0.161 141.8);
Tailwind
colors: {
  custom: {
    50: '#6fa760',
    500: '#25821b',
    950: '#000000',
  },
}
SCSS
$custom: #25821b;
$custom-light: #6fa760;
$custom-dark: #000000;
JSON
{
  "hex": "#25821b",
  "rgb": {
    "r": 37,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 114.175,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53253,
    "c": 0.16132,
    "h": 141.8
  },
  "luminance": 0.16438
}

Semantic roles & 50–950 ramp

primary
#25821B
secondary
#AA43B6
accent
#3FE9D8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #25821B

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

Preview Lab → · Contrast checker → · Palette generator →

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