#25821C#25821C

#25821C is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.161 H 141.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#25821C
RGBrgb(37, 130, 28)
HSLhsl(115, 65%, 31%)
HSVhsv(115, 78%, 51%)
CMYKcmyk(71.5%, 0%, 78.5%, 49%)
CIE-LABlab(47.55, -46.40, 44.21)
CIE-LCHlch(47.55, 64.09, 136.39°)
OKLaboklab(53.26% -0.1264 0.0993)
OKLCHoklch(53.26% 0.161 141.9)
XYZxyz(8.9547, 16.4415, 3.8000)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25821C #791C82
analogous
#58821C #25821C #1C8246
triadic
#25821C #1C2582 #821C25
tetradic
#25821C #1C5882 #791C82 #82461C
square
#25821C #1C5882 #791C82 #82461C
split-complementary
#25821C #461C82 #821C58
monochromatic
#081D06 #175011 #25821C #33B427 #4FD642

Accessibility & contrast

On white

4.90
#25821C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#25821C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25821C
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25821C#FFFFFF#000000##FFFFFF
##25821C1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857505
Deuteranopia (green-blind)
#7A6E27
Tritanopia (blue-blind)
#0D7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #25821c;
/* rgb */ color: rgb(37, 130, 28);
/* oklch */ color: oklch(53.3% 0.161 141.9);
Tailwind
colors: {
  custom: {
    50: '#6fa760',
    500: '#25821c',
    950: '#000000',
  },
}
SCSS
$custom: #25821c;
$custom-light: #6fa760;
$custom-dark: #000000;
JSON
{
  "hex": "#25821c",
  "rgb": {
    "r": 37,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 114.706,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5326,
    "c": 0.16076,
    "h": 141.9
  },
  "luminance": 0.16442
}

Semantic roles & 50–950 ramp

primary
#25821C
secondary
#AB44B5
accent
#40E8D9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #25821C

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

Preview Lab → · Contrast checker → · Palette generator →

#25821C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva