#258522#258522

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

Color values

HEX#258522
RGBrgb(37, 133, 34)
HSLhsl(118, 59%, 33%)
HSVhsv(118, 74%, 52%)
CMYKcmyk(72.2%, 0%, 74.4%, 47.8%)
CIE-LABlab(48.61, -46.97, 43.02)
CIE-LCHlch(48.61, 63.70, 137.51°)
OKLaboklab(54.16% -0.1277 0.0977)
OKLCHoklch(54.16% 0.161 142.6)
XYZxyz(9.4387, 17.2828, 4.3516)
Luminance0.1728 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258522 #822285
analogous
#568522 #258522 #228551
triadic
#258522 #222585 #852225
tetradic
#258522 #225685 #822285 #855122
square
#258522 #225685 #822285 #855122
split-complementary
#258522 #512285 #852256
monochromatic
#0A2409 #175416 #258522 #33B62E #53D24F

Accessibility & contrast

On white

4.71
#258522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #258522
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258522#FFFFFF#000000##FFFFFF
##2585221.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887811
Deuteranopia (green-blind)
#7D712C
Tritanopia (blue-blind)
#088172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #258522;
/* rgb */ color: rgb(37, 133, 34);
/* oklch */ color: oklch(54.2% 0.161 142.6);
Tailwind
colors: {
  custom: {
    50: '#6fa964',
    500: '#258522',
    950: '#000000',
  },
}
SCSS
$custom: #258522;
$custom-light: #6fa964;
$custom-dark: #000000;
JSON
{
  "hex": "#258522",
  "rgb": {
    "r": 37,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 118.182,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54157,
    "c": 0.16074,
    "h": 142.6
  },
  "luminance": 0.17284
}

Semantic roles & 50–950 ramp

primary
#258522
secondary
#B24DB6
accent
#45E2DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #258522

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

Preview Lab → · Contrast checker → · Palette generator →

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