#258131#258131

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

Color values

HEX#258131
RGBrgb(37, 129, 49)
HSLhsl(128, 55%, 33%)
HSVhsv(128, 71%, 51%)
CMYKcmyk(71.3%, 0%, 62%, 49.4%)
CIE-LABlab(47.38, -43.91, 35.03)
CIE-LCHlch(47.38, 56.18, 141.42°)
OKLaboklab(53.18% -0.1187 0.0825)
OKLCHoklch(53.18% 0.145 145.2)
XYZxyz(9.1670, 16.3146, 5.5711)
Luminance0.1632 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258131 #812575
analogous
#478125 #258131 #25815F
triadic
#258131 #312581 #813125
tetradic
#258131 #254781 #812575 #815F25
square
#258131 #254781 #812575 #815F25
split-complementary
#258131 #5F2581 #812547
monochromatic
#0A220D #17511F #258131 #33B143 #53CE63

Accessibility & contrast

On white

4.93
#258131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#258131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##258131#FFFFFF#000000##FFFFFF
##2581311.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)
#837528
Deuteranopia (green-blind)
#786D38
Tritanopia (blue-blind)
#037E70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #258131;
/* rgb */ color: rgb(37, 129, 49);
/* oklch */ color: oklch(53.2% 0.145 145.2);
Tailwind
colors: {
  custom: {
    50: '#6da66c',
    500: '#258131',
    950: '#000000',
  },
}
SCSS
$custom: #258131;
$custom-light: #6da66c;
$custom-dark: #000000;
JSON
{
  "hex": "#258131",
  "rgb": {
    "r": 37,
    "g": 129,
    "b": 49
  },
  "hsl": {
    "h": 127.826,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53181,
    "c": 0.14451,
    "h": 145.2
  },
  "luminance": 0.16316
}

Semantic roles & 50–950 ramp

primary
#258131
secondary
#B250A5
accent
#49CBDF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #258131

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

Preview Lab → · Contrast checker → · Palette generator →

#258131 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva