#257D2A#257D2A

#257D2A is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.145 H 143.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#257D2A
RGBrgb(37, 125, 42)
HSLhsl(123, 54%, 32%)
HSVhsv(123, 70%, 49%)
CMYKcmyk(70.4%, 0%, 66.4%, 51%)
CIE-LABlab(45.94, -43.28, 36.74)
CIE-LCHlch(45.94, 56.77, 139.67°)
OKLaboklab(51.96% -0.1173 0.0854)
OKLCHoklch(51.96% 0.145 143.9)
XYZxyz(8.5140, 15.2268, 4.6804)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257D2A #7D2578
analogous
#4C7D25 #257D2A #257D56
triadic
#257D2A #2A257D #7D2A25
tetradic
#257D2A #254C7D #7D2578 #7D5625
square
#257D2A #254C7D #7D2578 #7D5625
split-complementary
#257D2A #56257D #7D254C
monochromatic
#091F0A #174E1A #257D2A #33AC3A #51CB58

Accessibility & contrast

On white

5.19
#257D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#257D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257D2A
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257D2A#FFFFFF#000000##FFFFFF
##257D2A1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7120
Deuteranopia (green-blind)
#756A31
Tritanopia (blue-blind)
#0B796C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #257d2a;
/* rgb */ color: rgb(37, 125, 42);
/* oklch */ color: oklch(52.0% 0.145 143.9);
Tailwind
colors: {
  custom: {
    50: '#6da467',
    500: '#257d2a',
    950: '#000000',
  },
}
SCSS
$custom: #257d2a;
$custom-light: #6da467;
$custom-dark: #000000;
JSON
{
  "hex": "#257d2a",
  "rgb": {
    "r": 37,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 123.409,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51964,
    "c": 0.14507,
    "h": 143.9
  },
  "luminance": 0.15228
}

Semantic roles & 50–950 ramp

primary
#257D2A
secondary
#AF4FAA
accent
#4AD5DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #257D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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