#25701F#25701F

#25701F is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.1% C 0.137 H 142.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#25701F
RGBrgb(37, 112, 31)
HSLhsl(116, 57%, 28%)
HSVhsv(116, 72%, 44%)
CMYKcmyk(67%, 0%, 72.3%, 56.1%)
CIE-LABlab(41.34, -39.56, 36.71)
CIE-LCHlch(41.34, 53.96, 137.14°)
OKLaboklab(48.13% -0.1078 0.084)
OKLCHoklch(48.13% 0.137 142.1)
XYZxyz(6.8041, 12.0799, 3.2691)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25701F #6A1F70
analogous
#4D701F #25701F #1F7042
triadic
#25701F #1F2570 #701F25
tetradic
#25701F #1F4D70 #6A1F70 #70421F
square
#25701F #1F4D70 #6A1F70 #70421F
split-complementary
#25701F #421F70 #701F4D
monochromatic
#081807 #154012 #25701F #35A02C #4ACA3F

Accessibility & contrast

On white

6.15
#25701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#25701F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25701F
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25701F#FFFFFF#000000##FFFFFF
##25701F1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736513
Deuteranopia (green-blind)
#6A5F27
Tritanopia (blue-blind)
#176C60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #25701f;
/* rgb */ color: rgb(37, 112, 31);
/* oklch */ color: oklch(48.1% 0.137 142.1);
Tailwind
colors: {
  custom: {
    50: '#6a9a5f',
    500: '#25701f',
    950: '#000000',
  },
}
SCSS
$custom: #25701f;
$custom-light: #6a9a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#25701f",
  "rgb": {
    "r": 37,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 115.556,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48125,
    "c": 0.13665,
    "h": 142.1
  },
  "luminance": 0.12081
}

Semantic roles & 50–950 ramp

primary
#25701F
secondary
#9D47A4
accent
#48E0D5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #25701F

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

Preview Lab → · Contrast checker → · Palette generator →

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