#257331#257331

#257331 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.126 H 146.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#257331
RGBrgb(37, 115, 49)
HSLhsl(129, 51%, 30%)
HSVhsv(129, 68%, 45%)
CMYKcmyk(67.8%, 0%, 57.4%, 54.9%)
CIE-LABlab(42.58, -38.52, 29.38)
CIE-LCHlch(42.58, 48.45, 142.67°)
OKLaboklab(49.21% -0.1041 0.0702)
OKLCHoklch(49.21% 0.126 146)
XYZxyz(7.4476, 12.8758, 4.9979)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257331 #732567
analogous
#407325 #257331 #257358
triadic
#257331 #312573 #733125
tetradic
#257331 #254073 #732567 #735825
square
#257331 #254073 #732567 #735825
split-complementary
#257331 #582573 #732540
monochromatic
#07170A #16451D #257331 #34A145 #4DC65F

Accessibility & contrast

On white

5.87
#257331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#257331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257331
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257331#FFFFFF#000000##FFFFFF
##2573311.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692B
Deuteranopia (green-blind)
#6B6236
Tritanopia (blue-blind)
#0E7064
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #257331;
/* rgb */ color: rgb(37, 115, 49);
/* oklch */ color: oklch(49.2% 0.126 146.0);
Tailwind
colors: {
  custom: {
    50: '#6a9c6b',
    500: '#257331',
    950: '#000000',
  },
}
SCSS
$custom: #257331;
$custom-light: #6a9c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#257331",
  "rgb": {
    "r": 37,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 129.231,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49205,
    "c": 0.12554,
    "h": 146
  },
  "luminance": 0.12877
}

Semantic roles & 50–950 ramp

primary
#257331
secondary
#A64E98
accent
#4DC5DB
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #257331

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

Preview Lab → · Contrast checker → · Palette generator →

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