#25781B#25781B

#25781B is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.149 H 141.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#25781B
RGBrgb(37, 120, 27)
HSLhsl(114, 63%, 29%)
HSVhsv(114, 78%, 47%)
CMYKcmyk(69.2%, 0%, 77.5%, 52.9%)
CIE-LABlab(44.10, -42.90, 41.16)
CIE-LCHlch(44.10, 59.45, 136.19°)
OKLaboklab(50.4% -0.117 0.0928)
OKLCHoklch(50.4% 0.149 141.6)
XYZxyz(7.6768, 13.9046, 3.3160)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25781B #6E1B78
analogous
#54781B #25781B #1B7840
triadic
#25781B #1B2578 #781B25
tetradic
#25781B #1B5478 #6E1B78 #78401B
square
#25781B #1B5478 #6E1B78 #78401B
split-complementary
#25781B #401B78 #781B54
monochromatic
#081906 #164610 #25781B #34AA26 #4BD33B

Accessibility & contrast

On white

5.55
#25781B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#25781B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25781B
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25781B#FFFFFF#000000##FFFFFF
##25781B1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C08
Deuteranopia (green-blind)
#716625
Tritanopia (blue-blind)
#147466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #25781b;
/* rgb */ color: rgb(37, 120, 27);
/* oklch */ color: oklch(50.4% 0.149 141.6);
Tailwind
colors: {
  custom: {
    50: '#6ca05e',
    500: '#25781b',
    950: '#000000',
  },
}
SCSS
$custom: #25781b;
$custom-light: #6ca05e;
$custom-dark: #000000;
JSON
{
  "hex": "#25781b",
  "rgb": {
    "r": 37,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 113.548,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50395,
    "c": 0.14935,
    "h": 141.6
  },
  "luminance": 0.13905
}

Semantic roles & 50–950 ramp

primary
#25781B
secondary
#A143AC
accent
#41E6D5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080F05
muted
#7A7E79

Preview Lab

Preview with #25781B

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

Preview Lab → · Contrast checker → · Palette generator →

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