#258F2D#258F2D

#258F2D is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.165 H 144.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#258F2D
RGBrgb(37, 143, 45)
HSLhsl(125, 59%, 35%)
HSVhsv(125, 74%, 56%)
CMYKcmyk(74.1%, 0%, 68.5%, 43.9%)
CIE-LABlab(52.09, -49.41, 42.13)
CIE-LCHlch(52.09, 64.94, 139.54°)
OKLaboklab(57.07% -0.1337 0.0972)
OKLCHoklch(57.07% 0.165 144)
XYZxyz(11.0583, 20.2265, 5.8034)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258F2D #8F2587
analogous
#528F25 #258F2D #258F62
triadic
#258F2D #2D258F #8F2D25
tetradic
#258F2D #25528F #8F2587 #8F6225
square
#258F2D #25528F #8F2587 #8F6225
split-complementary
#258F2D #62258F #8F2552
monochromatic
#0C2E0E #185E1E #258F2D #32C03C #5AD463

Accessibility & contrast

On white

4.16
#258F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#258F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #258F2D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258F2D#FFFFFF#000000##000000
##258F2D1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928120
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #258f2d;
/* rgb */ color: rgb(37, 143, 45);
/* oklch */ color: oklch(57.1% 0.165 144.0);
Tailwind
colors: {
  custom: {
    50: '#71b16b',
    500: '#258f2d',
    950: '#000000',
  },
}
SCSS
$custom: #258f2d;
$custom-light: #71b16b;
$custom-dark: #000000;
JSON
{
  "hex": "#258f2d",
  "rgb": {
    "r": 37,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 124.528,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5707,
    "c": 0.16531,
    "h": 144
  },
  "luminance": 0.20228
}

Semantic roles & 50–950 ramp

primary
#258F2D
secondary
#B957B2
accent
#46D6E2
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #258F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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