#257F1E#257F1E

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

Color values

HEX#257F1E
RGBrgb(37, 127, 30)
HSLhsl(116, 62%, 31%)
HSVhsv(116, 76%, 50%)
CMYKcmyk(70.9%, 0%, 76.4%, 50.2%)
CIE-LABlab(46.53, -45.18, 42.46)
CIE-LCHlch(46.53, 62.00, 136.78°)
OKLaboklab(52.42% -0.1231 0.0959)
OKLCHoklch(52.42% 0.156 142.1)
XYZxyz(8.5862, 15.6649, 3.7992)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257F1E #781E7F
analogous
#557F1E #257F1E #1E7F47
triadic
#257F1E #1E257F #7F1E25
tetradic
#257F1E #1E557F #781E7F #7F471E
square
#257F1E #1E557F #781E7F #7F471E
split-complementary
#257F1E #471E7F #7F1E55
monochromatic
#081C07 #174D12 #257F1E #33B12A #4FD344

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##257F1E#FFFFFF#000000##FFFFFF
##257F1E1.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)
#82730B
Deuteranopia (green-blind)
#786C28
Tritanopia (blue-blind)
#0F7B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #257f1e;
/* rgb */ color: rgb(37, 127, 30);
/* oklch */ color: oklch(52.4% 0.156 142.1);
Tailwind
colors: {
  custom: {
    50: '#6ea561',
    500: '#257f1e',
    950: '#000000',
  },
}
SCSS
$custom: #257f1e;
$custom-light: #6ea561;
$custom-dark: #000000;
JSON
{
  "hex": "#257f1e",
  "rgb": {
    "r": 37,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 115.67,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5242,
    "c": 0.15602,
    "h": 142.1
  },
  "luminance": 0.15666
}

Semantic roles & 50–950 ramp

primary
#257F1E
secondary
#AA47B2
accent
#43E5D9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #257F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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