#258231#258231

#258231 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.146 H 145.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#258231
RGBrgb(37, 130, 49)
HSLhsl(128, 56%, 33%)
HSVhsv(128, 72%, 51%)
CMYKcmyk(71.5%, 0%, 62.3%, 49%)
CIE-LABlab(47.73, -44.28, 35.43)
CIE-LCHlch(47.73, 56.71, 141.34°)
OKLaboklab(53.46% -0.1197 0.0833)
OKLCHoklch(53.46% 0.146 145.1)
XYZxyz(9.2993, 16.5793, 5.6152)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258231 #822576
analogous
#478225 #258231 #25825F
triadic
#258231 #312582 #823125
tetradic
#258231 #254782 #822576 #825F25
square
#258231 #254782 #822576 #825F25
split-complementary
#258231 #5F2582 #822547
monochromatic
#0A230D #17521F #258231 #33B243 #53CE63

Accessibility & contrast

On white

4.87
#258231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#258231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #258231
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258231#FFFFFF#000000##FFFFFF
##2582311.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847628
Deuteranopia (green-blind)
#796E38
Tritanopia (blue-blind)
#027F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #258231;
/* rgb */ color: rgb(37, 130, 49);
/* oklch */ color: oklch(53.5% 0.146 145.1);
Tailwind
colors: {
  custom: {
    50: '#6ea76c',
    500: '#258231',
    950: '#000000',
  },
}
SCSS
$custom: #258231;
$custom-light: #6ea76c;
$custom-dark: #000000;
JSON
{
  "hex": "#258231",
  "rgb": {
    "r": 37,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 127.742,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53463,
    "c": 0.14582,
    "h": 145.1
  },
  "luminance": 0.1658
}

Semantic roles & 50–950 ramp

primary
#258231
secondary
#B250A6
accent
#49CCDF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #258231

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

Preview Lab → · Contrast checker → · Palette generator →

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