#257E28#257E28

#257E28 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.148 H 143.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#257E28
RGBrgb(37, 126, 40)
HSLhsl(122, 55%, 32%)
HSVhsv(122, 71%, 49%)
CMYKcmyk(70.6%, 0%, 68.3%, 50.6%)
CIE-LABlab(46.27, -43.87, 38.01)
CIE-LCHlch(46.27, 58.05, 139.09°)
OKLaboklab(52.23% -0.119 0.0879)
OKLCHoklch(52.23% 0.148 143.5)
XYZxyz(8.6063, 15.4673, 4.5390)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257E28 #7E257B
analogous
#4F7E25 #257E28 #257E54
triadic
#257E28 #28257E #7E2825
tetradic
#257E28 #254F7E #7E257B #7E5425
square
#257E28 #254F7E #7E257B #7E5425
split-complementary
#257E28 #54257E #7E254F
monochromatic
#091F0A #174F19 #257E28 #33AD37 #51CC56

Accessibility & contrast

On white

5.13
#257E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#257E28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257E28
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257E28#FFFFFF#000000##FFFFFF
##257E281.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721D
Deuteranopia (green-blind)
#766B30
Tritanopia (blue-blind)
#0B7A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #257e28;
/* rgb */ color: rgb(37, 126, 40);
/* oklch */ color: oklch(52.2% 0.148 143.5);
Tailwind
colors: {
  custom: {
    50: '#6da466',
    500: '#257e28',
    950: '#000000',
  },
}
SCSS
$custom: #257e28;
$custom-light: #6da466;
$custom-dark: #000000;
JSON
{
  "hex": "#257e28",
  "rgb": {
    "r": 37,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 122.022,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52227,
    "c": 0.14791,
    "h": 143.5
  },
  "luminance": 0.15468
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #257E28

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

Preview Lab → · Contrast checker → · Palette generator →

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