#257531#257531

#257531 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.8% C 0.128 H 145.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#257531
RGBrgb(37, 117, 49)
HSLhsl(129, 52%, 30%)
HSVhsv(129, 68%, 46%)
CMYKcmyk(68.4%, 0%, 58.1%, 54.1%)
CIE-LABlab(43.27, -39.32, 30.21)
CIE-LCHlch(43.27, 49.58, 142.46°)
OKLaboklab(49.78% -0.1062 0.072)
OKLCHoklch(49.78% 0.128 145.9)
XYZxyz(7.6781, 13.3369, 5.0748)
Luminance0.1334 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257531 #752569
analogous
#417525 #257531 #257559
triadic
#257531 #312575 #753125
tetradic
#257531 #254175 #752569 #755925
square
#257531 #254175 #752569 #755925
split-complementary
#257531 #592575 #752541
monochromatic
#08180A #16471E #257531 #34A344 #4EC760

Accessibility & contrast

On white

5.73
#257531 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#257531 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257531
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257531#FFFFFF#000000##FFFFFF
##2575311.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A2B
Deuteranopia (green-blind)
#6D6436
Tritanopia (blue-blind)
#0D7266
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #257531;
/* rgb */ color: rgb(37, 117, 49);
/* oklch */ color: oklch(49.8% 0.128 145.9);
Tailwind
colors: {
  custom: {
    50: '#6a9e6b',
    500: '#257531',
    950: '#000000',
  },
}
SCSS
$custom: #257531;
$custom-light: #6a9e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#257531",
  "rgb": {
    "r": 37,
    "g": 117,
    "b": 49
  },
  "hsl": {
    "h": 129,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49776,
    "c": 0.12833,
    "h": 145.9
  },
  "luminance": 0.13338
}

Semantic roles & 50–950 ramp

primary
#257531
secondary
#A84E9A
accent
#4CC6DB
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #257531

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

Preview Lab → · Contrast checker → · Palette generator →

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