#25802A#25802A

#25802A is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.149 H 143.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#25802A
RGBrgb(37, 128, 42)
HSLhsl(123, 55%, 32%)
HSVhsv(123, 71%, 50%)
CMYKcmyk(71.1%, 0%, 67.2%, 49.8%)
CIE-LABlab(46.97, -44.38, 37.88)
CIE-LCHlch(46.97, 58.35, 139.52°)
OKLaboklab(52.82% -0.1203 0.0878)
OKLCHoklch(52.82% 0.149 143.9)
XYZxyz(8.8995, 15.9979, 4.8089)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25802A #80257B
analogous
#4D8025 #25802A #258058
triadic
#25802A #2A2580 #802A25
tetradic
#25802A #254D80 #80257B #805825
square
#25802A #254D80 #80257B #805825
split-complementary
#25802A #582580 #80254D
monochromatic
#0A210B #17511A #25802A #33AF3A #52CD59

Accessibility & contrast

On white

5.00
#25802A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#25802A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25802A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25802A#FFFFFF#000000##FFFFFF
##25802A1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741F
Deuteranopia (green-blind)
#786D32
Tritanopia (blue-blind)
#087C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #25802a;
/* rgb */ color: rgb(37, 128, 42);
/* oklch */ color: oklch(52.8% 0.149 143.9);
Tailwind
colors: {
  custom: {
    50: '#6da668',
    500: '#25802a',
    950: '#000000',
  },
}
SCSS
$custom: #25802a;
$custom-light: #6da668;
$custom-dark: #000000;
JSON
{
  "hex": "#25802a",
  "rgb": {
    "r": 37,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 123.297,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52816,
    "c": 0.14892,
    "h": 143.9
  },
  "luminance": 0.15999
}

Semantic roles & 50–950 ramp

primary
#25802A
secondary
#B150AC
accent
#49D6DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #25802A

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

Preview Lab → · Contrast checker → · Palette generator →

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