#258227#258227

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

Color values

HEX#258227
RGBrgb(37, 130, 39)
HSLhsl(121, 56%, 33%)
HSVhsv(121, 72%, 51%)
CMYKcmyk(71.5%, 0%, 70%, 49%)
CIE-LABlab(47.63, -45.43, 39.93)
CIE-LCHlch(47.63, 60.48, 138.69°)
OKLaboklab(53.35% -0.1232 0.0918)
OKLCHoklch(53.35% 0.154 143.3)
XYZxyz(9.1112, 16.5041, 4.6245)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258227 #822580
analogous
#528225 #258227 #258255
triadic
#258227 #272582 #822725
tetradic
#258227 #255282 #822580 #825525
square
#258227 #255282 #822580 #825525
split-complementary
#258227 #552582 #822552
monochromatic
#0A230A #175219 #258227 #33B235 #53CE56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #258227;
/* rgb */ color: rgb(37, 130, 39);
/* oklch */ color: oklch(53.4% 0.154 143.3);
Tailwind
colors: {
  custom: {
    50: '#6ea766',
    500: '#258227',
    950: '#000000',
  },
}
SCSS
$custom: #258227;
$custom-light: #6ea766;
$custom-dark: #000000;
JSON
{
  "hex": "#258227",
  "rgb": {
    "r": 37,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 121.29,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53352,
    "c": 0.15368,
    "h": 143.3
  },
  "luminance": 0.16505
}

Semantic roles & 50–950 ramp

primary
#258227
secondary
#B250B0
accent
#49DCDF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #258227

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

Preview Lab → · Contrast checker → · Palette generator →

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