#257D1B#257D1B

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

Color values

HEX#257D1B
RGBrgb(37, 125, 27)
HSLhsl(114, 64%, 30%)
HSVhsv(114, 78%, 49%)
CMYKcmyk(70.4%, 0%, 78.4%, 51%)
CIE-LABlab(45.82, -44.71, 42.87)
CIE-LCHlch(45.82, 61.94, 136.20°)
OKLaboklab(51.83% -0.1219 0.0963)
OKLCHoklch(51.83% 0.155 141.7)
XYZxyz(8.2939, 15.1388, 3.5217)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257D1B #731B7D
analogous
#567D1B #257D1B #1B7D42
triadic
#257D1B #1B257D #7D1B25
tetradic
#257D1B #1B567D #731B7D #7D421B
square
#257D1B #1B567D #731B7D #7D421B
split-complementary
#257D1B #421B7D #7D1B56
monochromatic
#071905 #164B10 #257D1B #34AF26 #4DD53D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##257D1B#FFFFFF#000000##FFFFFF
##257D1B1.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)
#807105
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#11796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #257d1b;
/* rgb */ color: rgb(37, 125, 27);
/* oklch */ color: oklch(51.8% 0.155 141.7);
Tailwind
colors: {
  custom: {
    50: '#6da45f',
    500: '#257d1b',
    950: '#000000',
  },
}
SCSS
$custom: #257d1b;
$custom-light: #6da45f;
$custom-dark: #000000;
JSON
{
  "hex": "#257d1b",
  "rgb": {
    "r": 37,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 113.878,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51827,
    "c": 0.1554,
    "h": 141.7
  },
  "luminance": 0.1514
}

Semantic roles & 50–950 ramp

primary
#257D1B
secondary
#A643B1
accent
#40E7D6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #257D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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