#25851F#25851F

#25851F is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.1% C 0.163 H 142.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#25851F
RGBrgb(37, 133, 31)
HSLhsl(116, 62%, 32%)
HSVhsv(116, 77%, 52%)
CMYKcmyk(72.2%, 0%, 76.7%, 47.8%)
CIE-LABlab(48.59, -47.22, 44.15)
CIE-LCHlch(48.59, 64.65, 136.92°)
OKLaboklab(54.13% -0.1285 0.0996)
OKLCHoklch(54.13% 0.163 142.2)
XYZxyz(9.3973, 17.2663, 4.1335)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25851F #7F1F85
analogous
#58851F #25851F #1F854C
triadic
#25851F #1F2585 #851F25
tetradic
#25851F #1F5885 #7F1F85 #854C1F
square
#25851F #1F5885 #7F1F85 #854C1F
split-complementary
#25851F #4C1F85 #851F58
monochromatic
#092208 #175313 #25851F #33B72B #52D54A

Accessibility & contrast

On white

4.72
#25851F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#25851F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25851F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25851F#FFFFFF#000000##FFFFFF
##25851F1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780A
Deuteranopia (green-blind)
#7D702A
Tritanopia (blue-blind)
#098171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #25851f;
/* rgb */ color: rgb(37, 133, 31);
/* oklch */ color: oklch(54.1% 0.163 142.2);
Tailwind
colors: {
  custom: {
    50: '#6fa962',
    500: '#25851f',
    950: '#000000',
  },
}
SCSS
$custom: #25851f;
$custom-light: #6fa962;
$custom-dark: #000000;
JSON
{
  "hex": "#25851f",
  "rgb": {
    "r": 37,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 116.471,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54133,
    "c": 0.16258,
    "h": 142.2
  },
  "luminance": 0.17267
}

Semantic roles & 50–950 ramp

primary
#25851F
secondary
#B149B7
accent
#43E5DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #25851F

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

Preview Lab → · Contrast checker → · Palette generator →

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