#257942#257942

#257942 is a mid, moderate green. Relative luminance 0.145; OKLCH L 51.2% C 0.117 H 151.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#257942
RGBrgb(37, 121, 66)
HSLhsl(141, 53%, 31%)
HSVhsv(141, 69%, 47%)
CMYKcmyk(69.4%, 0%, 45.5%, 52.5%)
CIE-LABlab(44.89, -38.12, 23.02)
CIE-LCHlch(44.89, 44.53, 148.87°)
OKLaboklab(51.19% -0.1028 0.0567)
OKLCHoklch(51.19% 0.117 151.1)
XYZxyz(8.5830, 14.4605, 7.4920)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257942 #79255C
analogous
#327925 #257942 #25796C
triadic
#257942 #422579 #794225
tetradic
#257942 #253279 #79255C #796C25
square
#257942 #253279 #79255C #796C25
split-complementary
#257942 #6C2579 #792532
monochromatic
#081B0F #174A28 #257942 #33A85C #4FC979

Accessibility & contrast

On white

5.40
#257942 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#257942 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257942
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257942#FFFFFF#000000##FFFFFF
##2579421.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3E
Deuteranopia (green-blind)
#6F6746
Tritanopia (blue-blind)
#00776C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #257942;
/* rgb */ color: rgb(37, 121, 66);
/* oklch */ color: oklch(51.2% 0.117 151.1);
Tailwind
colors: {
  custom: {
    50: '#6ba077',
    500: '#257942',
    950: '#000000',
  },
}
SCSS
$custom: #257942;
$custom-light: #6ba077;
$custom-dark: #000000;
JSON
{
  "hex": "#257942",
  "rgb": {
    "r": 37,
    "g": 121,
    "b": 66
  },
  "hsl": {
    "h": 140.714,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51192,
    "c": 0.11742,
    "h": 151.1
  },
  "luminance": 0.14461
}

Semantic roles & 50–950 ramp

primary
#257942
secondary
#AB4E8B
accent
#4BAADD
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #257942

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

Preview Lab → · Contrast checker → · Palette generator →

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