#257E1F#257E1F

#257E1F is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.154 H 142.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#257E1F
RGBrgb(37, 126, 31)
HSLhsl(116, 61%, 31%)
HSVhsv(116, 75%, 49%)
CMYKcmyk(70.6%, 0%, 75.4%, 50.6%)
CIE-LABlab(46.19, -44.74, 41.73)
CIE-LCHlch(46.19, 61.19, 136.99°)
OKLaboklab(52.14% -0.1218 0.0945)
OKLCHoklch(52.14% 0.154 142.2)
XYZxyz(8.4706, 15.4131, 3.8247)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257E1F #781F7E
analogous
#547E1F #257E1F #1F7E48
triadic
#257E1F #1F257E #7E1F25
tetradic
#257E1F #1F547E #781F7E #7E481F
square
#257E1F #1F547E #781F7E #7E481F
split-complementary
#257E1F #481F7E #7E1F54
monochromatic
#081C07 #174D13 #257E1F #33AF2B #4FD146

Accessibility & contrast

On white

5.14
#257E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#257E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257E1F
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257E1F#FFFFFF#000000##FFFFFF
##257E1F1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720E
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#0F7A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #257e1f;
/* rgb */ color: rgb(37, 126, 31);
/* oklch */ color: oklch(52.1% 0.154 142.2);
Tailwind
colors: {
  custom: {
    50: '#6ea461',
    500: '#257e1f',
    950: '#000000',
  },
}
SCSS
$custom: #257e1f;
$custom-light: #6ea461;
$custom-dark: #000000;
JSON
{
  "hex": "#257e1f",
  "rgb": {
    "r": 37,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 116.211,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52143,
    "c": 0.15419,
    "h": 142.2
  },
  "luminance": 0.15414
}

Semantic roles & 50–950 ramp

primary
#257E1F
secondary
#AA48B1
accent
#44E4DA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #257E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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