#258A2A#258A2A

#258A2A is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.161 H 143.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#258A2A
RGBrgb(37, 138, 42)
HSLhsl(123, 58%, 34%)
HSVhsv(123, 73%, 54%)
CMYKcmyk(73.2%, 0%, 69.6%, 45.9%)
CIE-LABlab(50.38, -47.97, 41.58)
CIE-LCHlch(50.38, 63.48, 139.08°)
OKLaboklab(55.64% -0.13 0.0957)
OKLCHoklch(55.64% 0.161 143.7)
XYZxyz(10.2687, 18.7363, 5.2653)
Luminance0.1874 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258A2A #8A2585
analogous
#538A25 #258A2A #258A5D
triadic
#258A2A #2A258A #8A2A25
tetradic
#258A2A #25538A #8A2585 #8A5D25
square
#258A2A #25538A #8A2585 #8A5D25
split-complementary
#258A2A #5D258A #8A2553
monochromatic
#0B290D #185A1B #258A2A #32BA39 #57D25D

Accessibility & contrast

On white

4.42
#258A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#258A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #258A2A
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258A2A#FFFFFF#000000##000000
##258A2A1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1D
Deuteranopia (green-blind)
#817533
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #258a2a;
/* rgb */ color: rgb(37, 138, 42);
/* oklch */ color: oklch(55.6% 0.161 143.7);
Tailwind
colors: {
  custom: {
    50: '#70ad69',
    500: '#258a2a',
    950: '#000000',
  },
}
SCSS
$custom: #258a2a;
$custom-light: #70ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#258a2a",
  "rgb": {
    "r": 37,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 122.97,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55639,
    "c": 0.16138,
    "h": 143.7
  },
  "luminance": 0.18737
}

Semantic roles & 50–950 ramp

primary
#258A2A
secondary
#B754B2
accent
#47D9E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #258A2A

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

Preview Lab → · Contrast checker → · Palette generator →

#258A2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva