#258126#258126

#258126 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.153 H 143.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#258126
RGBrgb(37, 129, 38)
HSLhsl(121, 55%, 33%)
HSVhsv(121, 71%, 51%)
CMYKcmyk(71.3%, 0%, 70.5%, 49.4%)
CIE-LABlab(47.28, -45.17, 39.98)
CIE-LCHlch(47.28, 60.32, 138.49°)
OKLaboklab(53.06% -0.1226 0.0918)
OKLCHoklch(53.06% 0.153 143.2)
XYZxyz(8.9625, 16.2328, 4.4943)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258126 #812580
analogous
#528125 #258126 #258154
triadic
#258126 #262581 #812625
tetradic
#258126 #255281 #812580 #815425
square
#258126 #255281 #812580 #815425
split-complementary
#258126 #542581 #812552
monochromatic
#0A220A #175118 #258126 #33B134 #53CE54

Accessibility & contrast

On white

4.94
#258126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#258126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #258126
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258126#FFFFFF#000000##FFFFFF
##2581261.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847519
Deuteranopia (green-blind)
#796D2F
Tritanopia (blue-blind)
#0A7D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #258126;
/* rgb */ color: rgb(37, 129, 38);
/* oklch */ color: oklch(53.1% 0.153 143.2);
Tailwind
colors: {
  custom: {
    50: '#6ea665',
    500: '#258126',
    950: '#000000',
  },
}
SCSS
$custom: #258126;
$custom-light: #6ea665;
$custom-dark: #000000;
JSON
{
  "hex": "#258126",
  "rgb": {
    "r": 37,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 120.652,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53059,
    "c": 0.15316,
    "h": 143.2
  },
  "luminance": 0.16234
}

Semantic roles & 50–950 ramp

primary
#258126
secondary
#B250B1
accent
#49DDDF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #258126

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

Preview Lab → · Contrast checker → · Palette generator →

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