#258122#258122

#258122 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.156 H 142.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#258122
RGBrgb(37, 129, 34)
HSLhsl(118, 58%, 32%)
HSVhsv(118, 74%, 51%)
CMYKcmyk(71.3%, 0%, 73.6%, 49.4%)
CIE-LABlab(47.25, -45.55, 41.62)
CIE-LCHlch(47.25, 61.70, 137.59°)
OKLaboklab(53.02% -0.1238 0.0947)
OKLCHoklch(53.02% 0.156 142.6)
XYZxyz(8.9014, 16.2084, 4.1725)
Luminance0.1621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258122 #7E2281
analogous
#558122 #258122 #22814F
triadic
#258122 #222581 #812225
tetradic
#258122 #225581 #7E2281 #814F22
square
#258122 #225581 #7E2281 #814F22
split-complementary
#258122 #4F2281 #812255
monochromatic
#092008 #175115 #258122 #33B12F #51D04D

Accessibility & contrast

On white

4.95
#258122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#258122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #258122
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258122#FFFFFF#000000##FFFFFF
##2581221.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847512
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#0C7D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #258122;
/* rgb */ color: rgb(37, 129, 34);
/* oklch */ color: oklch(53.0% 0.156 142.6);
Tailwind
colors: {
  custom: {
    50: '#6ea663',
    500: '#258122',
    950: '#000000',
  },
}
SCSS
$custom: #258122;
$custom-light: #6ea663;
$custom-dark: #000000;
JSON
{
  "hex": "#258122",
  "rgb": {
    "r": 37,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 118.105,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53022,
    "c": 0.1559,
    "h": 142.6
  },
  "luminance": 0.16209
}

Semantic roles & 50–950 ramp

primary
#258122
secondary
#B04BB3
accent
#46E1DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #258122

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

Preview Lab → · Contrast checker → · Palette generator →

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