#257F15#257F15

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

Color values

HEX#257F15
RGBrgb(37, 127, 21)
HSLhsl(111, 72%, 29%)
HSVhsv(111, 83%, 50%)
CMYKcmyk(70.9%, 0%, 83.5%, 50.2%)
CIE-LABlab(46.48, -45.82, 45.50)
CIE-LCHlch(46.48, 64.58, 135.20°)
OKLaboklab(52.36% -0.1252 0.101)
OKLCHoklch(52.36% 0.161 141.1)
XYZxyz(8.4872, 15.6253, 3.2780)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257F15 #6F157F
analogous
#5A7F15 #257F15 #157F3A
triadic
#257F15 #15257F #7F1525
tetradic
#257F15 #155A7F #6F157F #7F3A15
square
#257F15 #155A7F #6F157F #7F3A15
split-complementary
#257F15 #3A157F #7F155A
monochromatic
#081A04 #164A0C #257F15 #34B41E #4BDD31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##257F15#FFFFFF#000000##FFFFFF
##257F151.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)
#827200
Deuteranopia (green-blind)
#786B22
Tritanopia (blue-blind)
#117B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #257f15;
/* rgb */ color: rgb(37, 127, 21);
/* oklch */ color: oklch(52.4% 0.161 141.1);
Tailwind
colors: {
  custom: {
    50: '#6ea55d',
    500: '#257f15',
    950: '#000000',
  },
}
SCSS
$custom: #257f15;
$custom-light: #6ea55d;
$custom-dark: #000000;
JSON
{
  "hex": "#257f15",
  "rgb": {
    "r": 37,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 110.943,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5236,
    "c": 0.16086,
    "h": 141.1
  },
  "luminance": 0.15626
}

Semantic roles & 50–950 ramp

primary
#257F15
secondary
#A23CB4
accent
#39EED3
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #257F15

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

Preview Lab → · Contrast checker → · Palette generator →

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