#25811C#25811C

#25811C is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.160 H 141.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#25811C
RGBrgb(37, 129, 28)
HSLhsl(115, 64%, 31%)
HSVhsv(115, 78%, 51%)
CMYKcmyk(71.3%, 0%, 78.3%, 49.4%)
CIE-LABlab(47.21, -46.05, 43.87)
CIE-LCHlch(47.21, 63.60, 136.39°)
OKLaboklab(52.98% -0.1255 0.0986)
OKLCHoklch(52.98% 0.16 141.9)
XYZxyz(8.8223, 16.1767, 3.7559)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25811C #781C81
analogous
#57811C #25811C #1C8145
triadic
#25811C #1C2581 #811C25
tetradic
#25811C #1C5781 #781C81 #81451C
square
#25811C #1C5781 #781C81 #81451C
split-complementary
#25811C #451C81 #811C57
monochromatic
#081C06 #174F11 #25811C #33B327 #4FD642

Accessibility & contrast

On white

4.96
#25811C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#25811C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25811C
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25811C#FFFFFF#000000##FFFFFF
##25811C1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847405
Deuteranopia (green-blind)
#7A6D27
Tritanopia (blue-blind)
#0E7D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #25811c;
/* rgb */ color: rgb(37, 129, 28);
/* oklch */ color: oklch(53.0% 0.160 141.9);
Tailwind
colors: {
  custom: {
    50: '#6ea760',
    500: '#25811c',
    950: '#000000',
  },
}
SCSS
$custom: #25811c;
$custom-light: #6ea760;
$custom-dark: #000000;
JSON
{
  "hex": "#25811c",
  "rgb": {
    "r": 37,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 114.653,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52975,
    "c": 0.15958,
    "h": 141.9
  },
  "luminance": 0.16178
}

Semantic roles & 50–950 ramp

primary
#25811C
secondary
#AA44B4
accent
#40E7D8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #25811C

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

Preview Lab → · Contrast checker → · Palette generator →

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