#257828#257828

#257828 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.5% C 0.140 H 143.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#257828
RGBrgb(37, 120, 40)
HSLhsl(122, 53%, 31%)
HSVhsv(122, 69%, 47%)
CMYKcmyk(69.2%, 0%, 66.7%, 52.9%)
CIE-LABlab(44.20, -41.64, 35.74)
CIE-LCHlch(44.20, 54.87, 139.36°)
OKLaboklab(50.52% -0.1129 0.0831)
OKLCHoklch(50.52% 0.14 143.7)
XYZxyz(7.8619, 13.9786, 4.2909)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257828 #782575
analogous
#4B7825 #257828 #257851
triadic
#257828 #282578 #782825
tetradic
#257828 #254B78 #782575 #785125
square
#257828 #254B78 #782575 #785125
split-complementary
#257828 #512578 #78254B
monochromatic
#081A09 #174918 #257828 #33A738 #4FC953

Accessibility & contrast

On white

5.53
#257828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#257828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257828
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257828#FFFFFF#000000##FFFFFF
##2578281.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D1E
Deuteranopia (green-blind)
#71662F
Tritanopia (blue-blind)
#107567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #257828;
/* rgb */ color: rgb(37, 120, 40);
/* oklch */ color: oklch(50.5% 0.140 143.7);
Tailwind
colors: {
  custom: {
    50: '#6ca066',
    500: '#257828',
    950: '#000000',
  },
}
SCSS
$custom: #257828;
$custom-light: #6ca066;
$custom-dark: #000000;
JSON
{
  "hex": "#257828",
  "rgb": {
    "r": 37,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 122.169,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50517,
    "c": 0.14018,
    "h": 143.7
  },
  "luminance": 0.13979
}

Semantic roles & 50–950 ramp

primary
#257828
secondary
#AA4EA7
accent
#4CD7DC
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080F06
muted
#7A7E7A

Preview Lab

Preview with #257828

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

Preview Lab → · Contrast checker → · Palette generator →

#257828 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva