#257A28#257A28

#257A28 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.143 H 143.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#257A28
RGBrgb(37, 122, 40)
HSLhsl(122, 53%, 31%)
HSVhsv(122, 70%, 48%)
CMYKcmyk(69.7%, 0%, 67.2%, 52.2%)
CIE-LABlab(44.89, -42.39, 36.50)
CIE-LCHlch(44.89, 55.94, 139.27°)
OKLaboklab(51.09% -0.1149 0.0847)
OKLCHoklch(51.09% 0.143 143.6)
XYZxyz(8.1050, 14.4647, 4.3719)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257A28 #7A2577
analogous
#4C7A25 #257A28 #257A52
triadic
#257A28 #28257A #7A2825
tetradic
#257A28 #254C7A #7A2577 #7A5225
square
#257A28 #254C7A #7A2577 #7A5225
split-complementary
#257A28 #52257A #7A254C
monochromatic
#091C09 #174B19 #257A28 #33A937 #50CA54

Accessibility & contrast

On white

5.39
#257A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#257A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257A28
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257A28#FFFFFF#000000##FFFFFF
##257A281.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E1E
Deuteranopia (green-blind)
#72682F
Tritanopia (blue-blind)
#0E7769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #257a28;
/* rgb */ color: rgb(37, 122, 40);
/* oklch */ color: oklch(51.1% 0.143 143.6);
Tailwind
colors: {
  custom: {
    50: '#6ca166',
    500: '#257a28',
    950: '#000000',
  },
}
SCSS
$custom: #257a28;
$custom-light: #6ca166;
$custom-dark: #000000;
JSON
{
  "hex": "#257a28",
  "rgb": {
    "r": 37,
    "g": 122,
    "b": 40
  },
  "hsl": {
    "h": 122.118,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51088,
    "c": 0.14278,
    "h": 143.6
  },
  "luminance": 0.14466
}

Semantic roles & 50–950 ramp

primary
#257A28
secondary
#AC4EA9
accent
#4BD8DD
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #257A28

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

Preview Lab → · Contrast checker → · Palette generator →

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