#257A2D#257A2D

#257A2D is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.139 H 144.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#257A2D
RGBrgb(37, 122, 45)
HSLhsl(126, 53%, 31%)
HSVhsv(126, 70%, 48%)
CMYKcmyk(69.7%, 0%, 63.1%, 52.2%)
CIE-LABlab(44.94, -41.79, 34.18)
CIE-LCHlch(44.94, 53.99, 140.72°)
OKLaboklab(51.15% -0.1131 0.0803)
OKLCHoklch(51.15% 0.139 144.6)
XYZxyz(8.1956, 14.5010, 4.8492)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257A2D #7A2572
analogous
#477A25 #257A2D #257A57
triadic
#257A2D #2D257A #7A2D25
tetradic
#257A2D #25477A #7A2572 #7A5725
square
#257A2D #25477A #7A2572 #7A5725
split-complementary
#257A2D #57257A #7A2547
monochromatic
#091C0A #174B1C #257A2D #33A93E #50CA5B

Accessibility & contrast

On white

5.38
#257A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#257A2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257A2D
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257A2D#FFFFFF#000000##FFFFFF
##257A2D1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F25
Deuteranopia (green-blind)
#726833
Tritanopia (blue-blind)
#0C7769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #257a2d;
/* rgb */ color: rgb(37, 122, 45);
/* oklch */ color: oklch(51.1% 0.139 144.6);
Tailwind
colors: {
  custom: {
    50: '#6ca169',
    500: '#257a2d',
    950: '#000000',
  },
}
SCSS
$custom: #257a2d;
$custom-light: #6ca169;
$custom-dark: #000000;
JSON
{
  "hex": "#257a2d",
  "rgb": {
    "r": 37,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 125.647,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51146,
    "c": 0.13868,
    "h": 144.6
  },
  "luminance": 0.14502
}

Semantic roles & 50–950 ramp

primary
#257A2D
secondary
#AC4EA3
accent
#4BCFDD
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #257A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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