#257D1D#257D1D

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

Color values

HEX#257D1D
RGBrgb(37, 125, 29)
HSLhsl(115, 62%, 30%)
HSVhsv(115, 77%, 49%)
CMYKcmyk(70.4%, 0%, 76.8%, 51%)
CIE-LABlab(45.84, -44.55, 42.14)
CIE-LCHlch(45.84, 61.32, 136.59°)
OKLaboklab(51.84% -0.1214 0.0951)
OKLCHoklch(51.84% 0.154 141.9)
XYZxyz(8.3179, 15.1484, 3.6477)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257D1D #751D7D
analogous
#557D1D #257D1D #1D7D45
triadic
#257D1D #1D257D #7D1D25
tetradic
#257D1D #1D557D #751D7D #7D451D
square
#257D1D #1D557D #751D7D #7D451D
split-complementary
#257D1D #451D7D #7D1D55
monochromatic
#081A06 #164B11 #257D1D #34AF29 #4ED341

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##257D1D#FFFFFF#000000##FFFFFF
##257D1D1.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)
#80710A
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#10796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #257d1d;
/* rgb */ color: rgb(37, 125, 29);
/* oklch */ color: oklch(51.8% 0.154 141.9);
Tailwind
colors: {
  custom: {
    50: '#6da460',
    500: '#257d1d',
    950: '#000000',
  },
}
SCSS
$custom: #257d1d;
$custom-light: #6da460;
$custom-dark: #000000;
JSON
{
  "hex": "#257d1d",
  "rgb": {
    "r": 37,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 115,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51842,
    "c": 0.15421,
    "h": 141.9
  },
  "luminance": 0.15149
}

Semantic roles & 50–950 ramp

primary
#257D1D
secondary
#A845B1
accent
#42E5D8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #257D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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