#258226#258226

#258226 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.3% C 0.154 H 143.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#258226
RGBrgb(37, 130, 38)
HSLhsl(121, 56%, 33%)
HSVhsv(121, 72%, 51%)
CMYKcmyk(71.5%, 0%, 70.8%, 49%)
CIE-LABlab(47.62, -45.53, 40.35)
CIE-LCHlch(47.62, 60.84, 138.46°)
OKLaboklab(53.34% -0.1236 0.0926)
OKLCHoklch(53.34% 0.154 143.2)
XYZxyz(9.0949, 16.4975, 4.5384)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258226 #822581
analogous
#528225 #258226 #258254
triadic
#258226 #262582 #822625
tetradic
#258226 #255282 #822581 #825425
square
#258226 #255282 #822581 #825425
split-complementary
#258226 #542582 #822552
monochromatic
#0A230A #175218 #258226 #33B234 #53CE55

Accessibility & contrast

On white

4.88
#258226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#258226 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #258226
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258226#FFFFFF#000000##FFFFFF
##2582261.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857619
Deuteranopia (green-blind)
#7A6E2F
Tritanopia (blue-blind)
#097E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #258226;
/* rgb */ color: rgb(37, 130, 38);
/* oklch */ color: oklch(53.3% 0.154 143.2);
Tailwind
colors: {
  custom: {
    50: '#6ea765',
    500: '#258226',
    950: '#000000',
  },
}
SCSS
$custom: #258226;
$custom-light: #6ea765;
$custom-dark: #000000;
JSON
{
  "hex": "#258226",
  "rgb": {
    "r": 37,
    "g": 130,
    "b": 38
  },
  "hsl": {
    "h": 120.645,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53342,
    "c": 0.15439,
    "h": 143.2
  },
  "luminance": 0.16499
}

Semantic roles & 50–950 ramp

primary
#258226
secondary
#B250B1
accent
#49DDDF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #258226

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

Preview Lab → · Contrast checker → · Palette generator →

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