#257F28#257F28

#257F28 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.149 H 143.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#257F28
RGBrgb(37, 127, 40)
HSLhsl(122, 55%, 32%)
HSVhsv(122, 71%, 50%)
CMYKcmyk(70.9%, 0%, 68.5%, 50.2%)
CIE-LABlab(46.61, -44.24, 38.38)
CIE-LCHlch(46.61, 58.57, 139.05°)
OKLaboklab(52.51% -0.12 0.0887)
OKLCHoklch(52.51% 0.149 143.5)
XYZxyz(8.7348, 15.7243, 4.5818)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257F28 #7F257C
analogous
#4F7F25 #257F28 #257F55
triadic
#257F28 #28257F #7F2825
tetradic
#257F28 #254F7F #7F257C #7F5525
square
#257F28 #254F7F #7F257C #7F5525
split-complementary
#257F28 #55257F #7F254F
monochromatic
#09200A #175019 #257F28 #33AE37 #52CD56

Accessibility & contrast

On white

5.07
#257F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#257F28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257F28
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257F28#FFFFFF#000000##FFFFFF
##257F281.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731D
Deuteranopia (green-blind)
#776C30
Tritanopia (blue-blind)
#0A7B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #257f28;
/* rgb */ color: rgb(37, 127, 40);
/* oklch */ color: oklch(52.5% 0.149 143.5);
Tailwind
colors: {
  custom: {
    50: '#6da566',
    500: '#257f28',
    950: '#000000',
  },
}
SCSS
$custom: #257f28;
$custom-light: #6da566;
$custom-dark: #000000;
JSON
{
  "hex": "#257f28",
  "rgb": {
    "r": 37,
    "g": 127,
    "b": 40
  },
  "hsl": {
    "h": 122,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52511,
    "c": 0.14918,
    "h": 143.5
  },
  "luminance": 0.15725
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #257F28

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

Preview Lab → · Contrast checker → · Palette generator →

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