#258528#258528

#258528 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.157 H 143.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#258528
RGBrgb(37, 133, 40)
HSLhsl(122, 56%, 33%)
HSVhsv(122, 72%, 52%)
CMYKcmyk(72.2%, 0%, 69.9%, 47.8%)
CIE-LABlab(48.66, -46.40, 40.60)
CIE-LCHlch(48.66, 61.66, 138.82°)
OKLaboklab(54.21% -0.1258 0.0933)
OKLCHoklch(54.21% 0.157 143.4)
XYZxyz(9.5329, 17.3205, 4.8479)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258528 #852582
analogous
#528525 #258528 #258558
triadic
#258528 #282585 #852825
tetradic
#258528 #255285 #852582 #855825
square
#258528 #255285 #852582 #855825
split-complementary
#258528 #582585 #852552
monochromatic
#0A250B #18551A #258528 #32B536 #55D059

Accessibility & contrast

On white

4.70
#258528 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#258528 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #258528
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258528#FFFFFF#000000##FFFFFF
##2585281.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88781B
Deuteranopia (green-blind)
#7D7131
Tritanopia (blue-blind)
#058172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #258528;
/* rgb */ color: rgb(37, 133, 40);
/* oklch */ color: oklch(54.2% 0.157 143.4);
Tailwind
colors: {
  custom: {
    50: '#6fa967',
    500: '#258528',
    950: '#000000',
  },
}
SCSS
$custom: #258528;
$custom-light: #6fa967;
$custom-dark: #000000;
JSON
{
  "hex": "#258528",
  "rgb": {
    "r": 37,
    "g": 133,
    "b": 40
  },
  "hsl": {
    "h": 121.875,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54211,
    "c": 0.15667,
    "h": 143.4
  },
  "luminance": 0.17322
}

Semantic roles & 50–950 ramp

primary
#258528
secondary
#B452B1
accent
#48DBE0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #258528

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

Preview Lab → · Contrast checker → · Palette generator →

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