#257A2C#257A2C

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

Color values

HEX#257A2C
RGBrgb(37, 122, 44)
HSLhsl(125, 53%, 31%)
HSVhsv(125, 70%, 48%)
CMYKcmyk(69.7%, 0%, 63.9%, 52.2%)
CIE-LABlab(44.93, -41.92, 34.66)
CIE-LCHlch(44.93, 54.39, 140.42°)
OKLaboklab(51.13% -0.1135 0.0812)
OKLCHoklch(51.13% 0.14 144.4)
XYZxyz(8.1766, 14.4934, 4.7490)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257A2C #7A2573
analogous
#487A25 #257A2C #257A56
triadic
#257A2C #2C257A #7A2C25
tetradic
#257A2C #25487A #7A2573 #7A5625
square
#257A2C #25487A #7A2573 #7A5625
split-complementary
#257A2C #56257A #7A2548
monochromatic
#091C0A #174B1B #257A2C #33A93D #50CA5A

Accessibility & contrast

On white

5.39
#257A2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #257A2C
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257A2C#FFFFFF#000000##FFFFFF
##257A2C1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #257a2c;
/* rgb */ color: rgb(37, 122, 44);
/* oklch */ color: oklch(51.1% 0.140 144.4);
Tailwind
colors: {
  custom: {
    50: '#6ca168',
    500: '#257a2c',
    950: '#000000',
  },
}
SCSS
$custom: #257a2c;
$custom-light: #6ca168;
$custom-dark: #000000;
JSON
{
  "hex": "#257a2c",
  "rgb": {
    "r": 37,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 124.941,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51134,
    "c": 0.13952,
    "h": 144.4
  },
  "luminance": 0.14494
}

Semantic roles & 50–950 ramp

primary
#257A2C
secondary
#AC4EA5
accent
#4BD1DD
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #257A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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