#25851B#25851B

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

Color values

HEX#25851B
RGBrgb(37, 133, 27)
HSLhsl(114, 66%, 31%)
HSVhsv(114, 80%, 52%)
CMYKcmyk(72.2%, 0%, 79.7%, 47.8%)
CIE-LABlab(48.57, -47.52, 45.55)
CIE-LCHlch(48.57, 65.83, 136.21°)
OKLaboklab(54.11% -0.1295 0.1019)
OKLCHoklch(54.11% 0.165 141.8)
XYZxyz(9.3478, 17.2465, 3.8730)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25851B #7B1B85
analogous
#5A851B #25851B #1B8546
triadic
#25851B #1B2585 #851B25
tetradic
#25851B #1B5A85 #7B1B85 #85461B
square
#25851B #1B5A85 #7B1B85 #85461B
split-complementary
#25851B #461B85 #851B5A
monochromatic
#091F06 #175211 #25851B #33B825 #50D942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##25851B#FFFFFF#000000##FFFFFF
##25851B1.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)
#887801
Deuteranopia (green-blind)
#7D7027
Tritanopia (blue-blind)
#0B8171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #25851b;
/* rgb */ color: rgb(37, 133, 27);
/* oklch */ color: oklch(54.1% 0.165 141.8);
Tailwind
colors: {
  custom: {
    50: '#6fa960',
    500: '#25851b',
    950: '#000000',
  },
}
SCSS
$custom: #25851b;
$custom-light: #6fa960;
$custom-dark: #000000;
JSON
{
  "hex": "#25851b",
  "rgb": {
    "r": 37,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 114.34,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54105,
    "c": 0.16483,
    "h": 141.8
  },
  "luminance": 0.17248
}

Semantic roles & 50–950 ramp

primary
#25851B
secondary
#AD44B8
accent
#3FE9D9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #25851B

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

Preview Lab → · Contrast checker → · Palette generator →

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