#258542#258542

#258542 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.134 H 149.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#258542
RGBrgb(37, 133, 66)
HSLhsl(138, 56%, 33%)
HSVhsv(138, 72%, 52%)
CMYKcmyk(72.2%, 0%, 50.4%, 47.8%)
CIE-LABlab(48.96, -42.91, 28.20)
CIE-LCHlch(48.96, 51.35, 146.69°)
OKLaboklab(54.55% -0.1155 0.0686)
OKLCHoklch(54.55% 0.134 149.3)
XYZxyz(10.1331, 17.5606, 8.0087)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258542 #852568
analogous
#388525 #258542 #258572
triadic
#258542 #422585 #854225
tetradic
#258542 #253885 #852568 #857225
square
#258542 #253885 #852568 #857225
split-complementary
#258542 #722585 #852538
monochromatic
#0A2512 #18552A #258542 #32B55A #55D07A

Accessibility & contrast

On white

4.65
#258542 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#258542 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #258542
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258542#FFFFFF#000000##FFFFFF
##2585421.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793D
Deuteranopia (green-blind)
#7A7147
Tritanopia (blue-blind)
#008275
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #258542;
/* rgb */ color: rgb(37, 133, 66);
/* oklch */ color: oklch(54.6% 0.134 149.3);
Tailwind
colors: {
  custom: {
    50: '#6ea977',
    500: '#258542',
    950: '#000000',
  },
}
SCSS
$custom: #258542;
$custom-light: #6ea977;
$custom-dark: #000000;
JSON
{
  "hex": "#258542",
  "rgb": {
    "r": 37,
    "g": 133,
    "b": 66
  },
  "hsl": {
    "h": 138.125,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54553,
    "c": 0.13437,
    "h": 149.3
  },
  "luminance": 0.17562
}

Semantic roles & 50–950 ramp

primary
#258542
secondary
#B45296
accent
#48B2E0
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #258542

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

Preview Lab → · Contrast checker → · Palette generator →

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