#257D1C#257D1C

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

Color values

HEX#257D1C
RGBrgb(37, 125, 28)
HSLhsl(114, 63%, 30%)
HSVhsv(114, 78%, 49%)
CMYKcmyk(70.4%, 0%, 77.6%, 51%)
CIE-LABlab(45.83, -44.63, 42.51)
CIE-LCHlch(45.83, 61.64, 136.39°)
OKLaboklab(51.83% -0.1217 0.0957)
OKLCHoklch(51.83% 0.155 141.8)
XYZxyz(8.3057, 15.1435, 3.5837)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257D1C #741C7D
analogous
#567D1C #257D1C #1C7D43
triadic
#257D1C #1C257D #7D1C25
tetradic
#257D1C #1C567D #741C7D #7D431C
square
#257D1C #1C567D #741C7D #7D431C
split-complementary
#257D1C #431C7D #7D1C56
monochromatic
#071906 #164B11 #257D1C #34AF27 #4DD43F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##257D1C#FFFFFF#000000##FFFFFF
##257D1C1.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)
#807108
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#11796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #257d1c;
/* rgb */ color: rgb(37, 125, 28);
/* oklch */ color: oklch(51.8% 0.155 141.8);
Tailwind
colors: {
  custom: {
    50: '#6da460',
    500: '#257d1c',
    950: '#000000',
  },
}
SCSS
$custom: #257d1c;
$custom-light: #6da460;
$custom-dark: #000000;
JSON
{
  "hex": "#257d1c",
  "rgb": {
    "r": 37,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 114.433,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.51834,
    "c": 0.15481,
    "h": 141.8
  },
  "luminance": 0.15144
}

Semantic roles & 50–950 ramp

primary
#257D1C
secondary
#A744B1
accent
#41E6D7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #257D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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