#25842A#25842A

#25842A is a mid, vivid green. Relative luminance 0.171; OKLCH L 53.9% C 0.154 H 143.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#25842A
RGBrgb(37, 132, 42)
HSLhsl(123, 56%, 33%)
HSVhsv(123, 72%, 52%)
CMYKcmyk(72%, 0%, 68.2%, 48.2%)
CIE-LABlab(48.34, -45.84, 39.37)
CIE-LCHlch(48.34, 60.43, 139.34°)
OKLaboklab(53.95% -0.1242 0.091)
OKLCHoklch(53.95% 0.154 143.8)
XYZxyz(9.4315, 17.0620, 4.9863)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25842A #84257F
analogous
#4F8425 #25842A #258459
triadic
#25842A #2A2584 #842A25
tetradic
#25842A #254F84 #84257F #845925
square
#25842A #254F84 #84257F #845925
split-complementary
#25842A #592584 #84254F
monochromatic
#0A240C #18541B #25842A #32B439 #54CF5B

Accessibility & contrast

On white

4.76
#25842A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#25842A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25842A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25842A#FFFFFF#000000##FFFFFF
##25842A1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87771E
Deuteranopia (green-blind)
#7C7032
Tritanopia (blue-blind)
#058071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #25842a;
/* rgb */ color: rgb(37, 132, 42);
/* oklch */ color: oklch(53.9% 0.154 143.8);
Tailwind
colors: {
  custom: {
    50: '#6ea968',
    500: '#25842a',
    950: '#000000',
  },
}
SCSS
$custom: #25842a;
$custom-light: #6ea968;
$custom-dark: #000000;
JSON
{
  "hex": "#25842a",
  "rgb": {
    "r": 37,
    "g": 132,
    "b": 42
  },
  "hsl": {
    "h": 123.158,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53948,
    "c": 0.15396,
    "h": 143.8
  },
  "luminance": 0.17063
}

Semantic roles & 50–950 ramp

primary
#25842A
secondary
#B351AE
accent
#48D8E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #25842A

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

Preview Lab → · Contrast checker → · Palette generator →

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