#25791C#25791C

#25791C is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.150 H 141.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#25791C
RGBrgb(37, 121, 28)
HSLhsl(114, 62%, 29%)
HSVhsv(114, 77%, 47%)
CMYKcmyk(69.4%, 0%, 76.9%, 52.5%)
CIE-LABlab(44.45, -43.19, 41.13)
CIE-LCHlch(44.45, 59.64, 136.40°)
OKLaboklab(50.69% -0.1178 0.0929)
OKLCHoklch(50.69% 0.15 141.7)
XYZxyz(7.8095, 14.1511, 3.4183)
Luminance0.1415 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25791C #701C79
analogous
#54791C #25791C #1C7942
triadic
#25791C #1C2579 #791C25
tetradic
#25791C #1C5479 #701C79 #79421C
square
#25791C #1C5479 #701C79 #79421C
split-complementary
#25791C #421C79 #791C54
monochromatic
#081906 #164710 #25791C #34AB28 #4CD23D

Accessibility & contrast

On white

5.48
#25791C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#25791C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25791C
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25791C#FFFFFF#000000##FFFFFF
##25791C1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D0A
Deuteranopia (green-blind)
#726726
Tritanopia (blue-blind)
#137567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #25791c;
/* rgb */ color: rgb(37, 121, 28);
/* oklch */ color: oklch(50.7% 0.150 141.7);
Tailwind
colors: {
  custom: {
    50: '#6da15f',
    500: '#25791c',
    950: '#000000',
  },
}
SCSS
$custom: #25791c;
$custom-light: #6da15f;
$custom-dark: #000000;
JSON
{
  "hex": "#25791c",
  "rgb": {
    "r": 37,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 114.194,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50689,
    "c": 0.14996,
    "h": 141.7
  },
  "luminance": 0.14152
}

Semantic roles & 50–950 ramp

primary
#25791C
secondary
#A344AD
accent
#42E5D6
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #25791C

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

Preview Lab → · Contrast checker → · Palette generator →

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