#25811F#25811F

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

Color values

HEX#25811F
RGBrgb(37, 129, 31)
HSLhsl(116, 61%, 31%)
HSVhsv(116, 76%, 51%)
CMYKcmyk(71.3%, 0%, 76%, 49.4%)
CIE-LABlab(47.23, -45.81, 42.78)
CIE-LCHlch(47.23, 62.68, 136.96°)
OKLaboklab(53% -0.1247 0.0967)
OKLCHoklch(53% 0.158 142.2)
XYZxyz(8.8600, 16.1918, 3.9545)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25811F #7B1F81
analogous
#56811F #25811F #1F814A
triadic
#25811F #1F2581 #811F25
tetradic
#25811F #1F5681 #7B1F81 #814A1F
square
#25811F #1F5681 #7B1F81 #814A1F
split-complementary
#25811F #4A1F81 #811F56
monochromatic
#091E07 #175013 #25811F #33B22B #50D347

Accessibility & contrast

On white

4.95
#25811F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #25811F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25811F#FFFFFF#000000##FFFFFF
##25811F1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740C
Deuteranopia (green-blind)
#796D29
Tritanopia (blue-blind)
#0D7D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #25811f;
/* rgb */ color: rgb(37, 129, 31);
/* oklch */ color: oklch(53.0% 0.158 142.2);
Tailwind
colors: {
  custom: {
    50: '#6ea762',
    500: '#25811f',
    950: '#000000',
  },
}
SCSS
$custom: #25811f;
$custom-light: #6ea762;
$custom-dark: #000000;
JSON
{
  "hex": "#25811f",
  "rgb": {
    "r": 37,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 116.327,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52998,
    "c": 0.15781,
    "h": 142.2
  },
  "luminance": 0.16193
}

Semantic roles & 50–950 ramp

primary
#25811F
secondary
#AD48B4
accent
#43E4DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #25811F

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

Preview Lab → · Contrast checker → · Palette generator →

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