#257C1F#257C1F

#257C1F is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.152 H 142.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#257C1F
RGBrgb(37, 124, 31)
HSLhsl(116, 60%, 30%)
HSVhsv(116, 75%, 49%)
CMYKcmyk(70.2%, 0%, 75%, 51.4%)
CIE-LABlab(45.51, -44.02, 41.03)
CIE-LCHlch(45.51, 60.18, 137.01°)
OKLaboklab(51.57% -0.1199 0.0931)
OKLCHoklch(51.57% 0.152 142.2)
XYZxyz(8.2175, 14.9067, 3.7403)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257C1F #761F7C
analogous
#537C1F #257C1F #1F7C47
triadic
#257C1F #1F257C #7C1F25
tetradic
#257C1F #1F537C #761F7C #7C471F
square
#257C1F #1F537C #761F7C #7C471F
split-complementary
#257C1F #471F7C #7C1F53
monochromatic
#081A07 #164B13 #257C1F #34AD2B #4ED045

Accessibility & contrast

On white

5.27
#257C1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#257C1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257C1F
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257C1F#FFFFFF#000000##FFFFFF
##257C1F1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700F
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#10786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #257c1f;
/* rgb */ color: rgb(37, 124, 31);
/* oklch */ color: oklch(51.6% 0.152 142.2);
Tailwind
colors: {
  custom: {
    50: '#6da361',
    500: '#257c1f',
    950: '#000000',
  },
}
SCSS
$custom: #257c1f;
$custom-light: #6da361;
$custom-dark: #000000;
JSON
{
  "hex": "#257c1f",
  "rgb": {
    "r": 37,
    "g": 124,
    "b": 31
  },
  "hsl": {
    "h": 116.129,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51572,
    "c": 0.15175,
    "h": 142.2
  },
  "luminance": 0.14908
}

Semantic roles & 50–950 ramp

primary
#257C1F
secondary
#A948AF
accent
#45E3D9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #257C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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