#257D28#257D28

#257D28 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.147 H 143.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#257D28
RGBrgb(37, 125, 40)
HSLhsl(122, 54%, 32%)
HSVhsv(122, 70%, 49%)
CMYKcmyk(70.4%, 0%, 68%, 51%)
CIE-LABlab(45.92, -43.50, 37.64)
CIE-LCHlch(45.92, 57.52, 139.14°)
OKLaboklab(51.94% -0.118 0.0871)
OKLCHoklch(51.94% 0.147 143.6)
XYZxyz(8.4790, 15.2128, 4.4966)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257D28 #7D257A
analogous
#4E7D25 #257D28 #257D54
triadic
#257D28 #28257D #7D2825
tetradic
#257D28 #254E7D #7D257A #7D5425
square
#257D28 #254E7D #7D257A #7D5425
split-complementary
#257D28 #54257D #7D254E
monochromatic
#091F0A #174E19 #257D28 #33AC37 #51CB55

Accessibility & contrast

On white

5.19
#257D28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#257D28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257D28
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257D28#FFFFFF#000000##FFFFFF
##257D281.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711D
Deuteranopia (green-blind)
#756A30
Tritanopia (blue-blind)
#0C796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #257d28;
/* rgb */ color: rgb(37, 125, 40);
/* oklch */ color: oklch(51.9% 0.147 143.6);
Tailwind
colors: {
  custom: {
    50: '#6da466',
    500: '#257d28',
    950: '#000000',
  },
}
SCSS
$custom: #257d28;
$custom-light: #6da466;
$custom-dark: #000000;
JSON
{
  "hex": "#257d28",
  "rgb": {
    "r": 37,
    "g": 125,
    "b": 40
  },
  "hsl": {
    "h": 122.045,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51943,
    "c": 0.14663,
    "h": 143.6
  },
  "luminance": 0.15214
}

Semantic roles & 50–950 ramp

primary
#257D28
secondary
#AF4FAC
accent
#4AD9DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #257D28

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

Preview Lab → · Contrast checker → · Palette generator →

#257D28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva