#257F1B#257F1B

#257F1B is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.158 H 141.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#257F1B
RGBrgb(37, 127, 27)
HSLhsl(114, 65%, 30%)
HSVhsv(114, 79%, 50%)
CMYKcmyk(70.9%, 0%, 78.7%, 50.2%)
CIE-LABlab(46.51, -45.42, 43.55)
CIE-LCHlch(46.51, 62.92, 136.21°)
OKLaboklab(52.4% -0.1238 0.0978)
OKLCHoklch(52.4% 0.158 141.7)
XYZxyz(8.5497, 15.6503, 3.6069)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257F1B #751B7F
analogous
#577F1B #257F1B #1B7F43
triadic
#257F1B #1B257F #7F1B25
tetradic
#257F1B #1B577F #751B7F #7F431B
square
#257F1B #1B577F #751B7F #7F431B
split-complementary
#257F1B #431B7F #7F1B57
monochromatic
#081A06 #164D10 #257F1B #34B126 #4ED63E

Accessibility & contrast

On white

5.08
#257F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#257F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257F1B
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257F1B#FFFFFF#000000##FFFFFF
##257F1B1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827304
Deuteranopia (green-blind)
#786B26
Tritanopia (blue-blind)
#107B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #257f1b;
/* rgb */ color: rgb(37, 127, 27);
/* oklch */ color: oklch(52.4% 0.158 141.7);
Tailwind
colors: {
  custom: {
    50: '#6ea55f',
    500: '#257f1b',
    950: '#000000',
  },
}
SCSS
$custom: #257f1b;
$custom-light: #6ea55f;
$custom-dark: #000000;
JSON
{
  "hex": "#257f1b",
  "rgb": {
    "r": 37,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 114,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52398,
    "c": 0.15778,
    "h": 141.7
  },
  "luminance": 0.15651
}

Semantic roles & 50–950 ramp

primary
#257F1B
secondary
#A843B3
accent
#40E8D7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #257F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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