#257D1A#257D1A

#257D1A is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.156 H 141.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#257D1A
RGBrgb(37, 125, 26)
HSLhsl(113, 66%, 30%)
HSVhsv(113, 79%, 49%)
CMYKcmyk(70.4%, 0%, 79.2%, 51%)
CIE-LABlab(45.82, -44.78, 43.22)
CIE-LCHlch(45.82, 62.24, 136.02°)
OKLaboklab(51.82% -0.1222 0.0969)
OKLCHoklch(51.82% 0.156 141.6)
XYZxyz(8.2826, 15.1343, 3.4618)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257D1A #721A7D
analogous
#577D1A #257D1A #1A7D40
triadic
#257D1A #1A257D #7D1A25
tetradic
#257D1A #1A577D #721A7D #7D401A
square
#257D1A #1A577D #721A7D #7D401A
split-complementary
#257D1A #401A7D #7D1A57
monochromatic
#071905 #164A0F #257D1A #34B025 #4CD63B

Accessibility & contrast

On white

5.21
#257D1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#257D1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257D1A
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257D1A#FFFFFF#000000##FFFFFF
##257D1A1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807103
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#11796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #257d1a;
/* rgb */ color: rgb(37, 125, 26);
/* oklch */ color: oklch(51.8% 0.156 141.6);
Tailwind
colors: {
  custom: {
    50: '#6ea45f',
    500: '#257d1a',
    950: '#000000',
  },
}
SCSS
$custom: #257d1a;
$custom-light: #6ea45f;
$custom-dark: #000000;
JSON
{
  "hex": "#257d1a",
  "rgb": {
    "r": 37,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 113.333,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5182,
    "c": 0.15596,
    "h": 141.6
  },
  "luminance": 0.15135
}

Semantic roles & 50–950 ramp

primary
#257D1A
secondary
#A542B1
accent
#3FE9D6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #257D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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