#25812F#25812F

#25812F is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.146 H 144.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#25812F
RGBrgb(37, 129, 47)
HSLhsl(127, 55%, 33%)
HSVhsv(127, 71%, 51%)
CMYKcmyk(71.3%, 0%, 63.6%, 49.4%)
CIE-LABlab(47.36, -44.16, 35.98)
CIE-LCHlch(47.36, 56.96, 140.83°)
OKLaboklab(53.16% -0.1194 0.0843)
OKLCHoklch(53.16% 0.146 144.8)
XYZxyz(9.1257, 16.2981, 5.3537)
Luminance0.1630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25812F #812577
analogous
#498125 #25812F #25815D
triadic
#25812F #2F2581 #812F25
tetradic
#25812F #254981 #812577 #815D25
square
#25812F #254981 #812577 #815D25
split-complementary
#25812F #5D2581 #812549
monochromatic
#0A220C #17511E #25812F #33B140 #53CE60

Accessibility & contrast

On white

4.93
#25812F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#25812F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25812F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25812F#FFFFFF#000000##FFFFFF
##25812F1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837526
Deuteranopia (green-blind)
#786D36
Tritanopia (blue-blind)
#047E70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #25812f;
/* rgb */ color: rgb(37, 129, 47);
/* oklch */ color: oklch(53.2% 0.146 144.8);
Tailwind
colors: {
  custom: {
    50: '#6da66b',
    500: '#25812f',
    950: '#000000',
  },
}
SCSS
$custom: #25812f;
$custom-light: #6da66b;
$custom-dark: #000000;
JSON
{
  "hex": "#25812f",
  "rgb": {
    "r": 37,
    "g": 129,
    "b": 47
  },
  "hsl": {
    "h": 126.522,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53156,
    "c": 0.14619,
    "h": 144.8
  },
  "luminance": 0.16299
}

Semantic roles & 50–950 ramp

primary
#25812F
secondary
#B250A7
accent
#49CEDF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #25812F

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

Preview Lab → · Contrast checker → · Palette generator →

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