#25802F#25802F

#25802F is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.145 H 144.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#25802F
RGBrgb(37, 128, 47)
HSLhsl(127, 55%, 32%)
HSVhsv(127, 71%, 50%)
CMYKcmyk(71.1%, 0%, 63.3%, 49.8%)
CIE-LABlab(47.02, -43.79, 35.59)
CIE-LCHlch(47.02, 56.43, 140.90°)
OKLaboklab(52.87% -0.1184 0.0835)
OKLCHoklch(52.87% 0.145 144.8)
XYZxyz(8.9946, 16.0359, 5.3100)
Luminance0.1604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25802F #802576
analogous
#498025 #25802F #25805C
triadic
#25802F #2F2580 #802F25
tetradic
#25802F #254980 #802576 #805C25
square
#25802F #254980 #802576 #805C25
split-complementary
#25802F #5C2580 #802549
monochromatic
#0A210C #17511E #25802F #33AF40 #52CD60

Accessibility & contrast

On white

4.99
#25802F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#25802F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25802F
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25802F#FFFFFF#000000##FFFFFF
##25802F1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827426
Deuteranopia (green-blind)
#776D36
Tritanopia (blue-blind)
#057D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #25802f;
/* rgb */ color: rgb(37, 128, 47);
/* oklch */ color: oklch(52.9% 0.145 144.8);
Tailwind
colors: {
  custom: {
    50: '#6da66b',
    500: '#25802f',
    950: '#000000',
  },
}
SCSS
$custom: #25802f;
$custom-light: #6da66b;
$custom-dark: #000000;
JSON
{
  "hex": "#25802f",
  "rgb": {
    "r": 37,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 126.593,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52874,
    "c": 0.14489,
    "h": 144.8
  },
  "luminance": 0.16037
}

Semantic roles & 50–950 ramp

primary
#25802F
secondary
#B150A7
accent
#49CEDE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #25802F

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

Preview Lab → · Contrast checker → · Palette generator →

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