#258228#258228

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

Color values

HEX#258228
RGBrgb(37, 130, 40)
HSLhsl(122, 56%, 33%)
HSVhsv(122, 72%, 51%)
CMYKcmyk(71.5%, 0%, 69.2%, 49%)
CIE-LABlab(47.64, -45.33, 39.50)
CIE-LCHlch(47.64, 60.12, 138.93°)
OKLaboklab(53.36% -0.1229 0.091)
OKLCHoklch(53.36% 0.153 143.5)
XYZxyz(9.1280, 16.5108, 4.7129)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258228 #82257F
analogous
#518225 #258228 #258256
triadic
#258228 #282582 #822825
tetradic
#258228 #255182 #82257F #825625
square
#258228 #255182 #82257F #825625
split-complementary
#258228 #562582 #822551
monochromatic
#0A230B #175219 #258228 #33B237 #53CE57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##258228#FFFFFF#000000##FFFFFF
##2582281.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)
#85761C
Deuteranopia (green-blind)
#7A6E30
Tritanopia (blue-blind)
#087E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #258228;
/* rgb */ color: rgb(37, 130, 40);
/* oklch */ color: oklch(53.4% 0.153 143.5);
Tailwind
colors: {
  custom: {
    50: '#6ea767',
    500: '#258228',
    950: '#000000',
  },
}
SCSS
$custom: #258228;
$custom-light: #6ea767;
$custom-dark: #000000;
JSON
{
  "hex": "#258228",
  "rgb": {
    "r": 37,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 121.935,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53362,
    "c": 0.15295,
    "h": 143.5
  },
  "luminance": 0.16512
}

Semantic roles & 50–950 ramp

primary
#258228
secondary
#B250AF
accent
#49DADF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #258228

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

Preview Lab → · Contrast checker → · Palette generator →

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