#257F1A#257F1A

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

Color values

HEX#257F1A
RGBrgb(37, 127, 26)
HSLhsl(113, 66%, 30%)
HSVhsv(113, 80%, 50%)
CMYKcmyk(70.9%, 0%, 79.5%, 50.2%)
CIE-LABlab(46.51, -45.49, 43.89)
CIE-LCHlch(46.51, 63.22, 136.02°)
OKLaboklab(52.39% -0.1241 0.0983)
OKLCHoklch(52.39% 0.158 141.6)
XYZxyz(8.5383, 15.6457, 3.5470)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257F1A #741A7F
analogous
#587F1A #257F1A #1A7F41
triadic
#257F1A #1A257F #7F1A25
tetradic
#257F1A #1A587F #741A7F #7F411A
square
#257F1A #1A587F #741A7F #7F411A
split-complementary
#257F1A #411A7F #7F1A58
monochromatic
#071905 #164C10 #257F1A #34B224 #4DD73C

Accessibility & contrast

On white

5.09
#257F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #257F1A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257F1A#FFFFFF#000000##FFFFFF
##257F1A1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #257f1a;
/* rgb */ color: rgb(37, 127, 26);
/* oklch */ color: oklch(52.4% 0.158 141.6);
Tailwind
colors: {
  custom: {
    50: '#6ea55f',
    500: '#257f1a',
    950: '#000000',
  },
}
SCSS
$custom: #257f1a;
$custom-light: #6ea55f;
$custom-dark: #000000;
JSON
{
  "hex": "#257f1a",
  "rgb": {
    "r": 37,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 113.465,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.52391,
    "c": 0.15833,
    "h": 141.6
  },
  "luminance": 0.15647
}

Semantic roles & 50–950 ramp

primary
#257F1A
secondary
#A742B3
accent
#3FE9D6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #257F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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