#257D2E#257D2E

#257D2E is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.142 H 144.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#257D2E
RGBrgb(37, 125, 46)
HSLhsl(126, 54%, 32%)
HSVhsv(126, 70%, 49%)
CMYKcmyk(70.4%, 0%, 63.2%, 51%)
CIE-LABlab(45.98, -42.80, 34.89)
CIE-LCHlch(45.98, 55.21, 140.82°)
OKLaboklab(52.01% -0.1158 0.0819)
OKLCHoklch(52.01% 0.142 144.7)
XYZxyz(8.5892, 15.2569, 5.0765)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257D2E #7D2574
analogous
#487D25 #257D2E #257D5A
triadic
#257D2E #2E257D #7D2E25
tetradic
#257D2E #25487D #7D2574 #7D5A25
square
#257D2E #25487D #7D2574 #7D5A25
split-complementary
#257D2E #5A257D #7D2548
monochromatic
#091F0B #174E1D #257D2E #33AC3F #51CB5D

Accessibility & contrast

On white

5.18
#257D2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #257D2E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257D2E#FFFFFF#000000##FFFFFF
##257D2E1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7125
Deuteranopia (green-blind)
#756A35
Tritanopia (blue-blind)
#097A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #257d2e;
/* rgb */ color: rgb(37, 125, 46);
/* oklch */ color: oklch(52.0% 0.142 144.7);
Tailwind
colors: {
  custom: {
    50: '#6ca36a',
    500: '#257d2e',
    950: '#000000',
  },
}
SCSS
$custom: #257d2e;
$custom-light: #6ca36a;
$custom-dark: #000000;
JSON
{
  "hex": "#257d2e",
  "rgb": {
    "r": 37,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 126.136,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52011,
    "c": 0.1418,
    "h": 144.7
  },
  "luminance": 0.15258
}

Semantic roles & 50–950 ramp

primary
#257D2E
secondary
#AF4FA5
accent
#4ACFDE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #257D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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