#257F27#257F27

#257F27 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.150 H 143.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#257F27
RGBrgb(37, 127, 39)
HSLhsl(121, 55%, 32%)
HSVhsv(121, 71%, 50%)
CMYKcmyk(70.9%, 0%, 69.3%, 50.2%)
CIE-LABlab(46.60, -44.34, 38.82)
CIE-LCHlch(46.60, 58.94, 138.80°)
OKLaboklab(52.5% -0.1203 0.0895)
OKLCHoklch(52.5% 0.15 143.4)
XYZxyz(8.7180, 15.7176, 4.4934)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257F27 #7F257D
analogous
#507F25 #257F27 #257F54
triadic
#257F27 #27257F #7F2725
tetradic
#257F27 #25507F #7F257D #7F5425
square
#257F27 #25507F #7F257D #7F5425
split-complementary
#257F27 #54257F #7F2550
monochromatic
#09200A #175018 #257F27 #33AE36 #52CD55

Accessibility & contrast

On white

5.07
#257F27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#257F27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257F27
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257F27#FFFFFF#000000##FFFFFF
##257F271.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731B
Deuteranopia (green-blind)
#776C2F
Tritanopia (blue-blind)
#0B7B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #257f27;
/* rgb */ color: rgb(37, 127, 39);
/* oklch */ color: oklch(52.5% 0.150 143.4);
Tailwind
colors: {
  custom: {
    50: '#6da566',
    500: '#257f27',
    950: '#000000',
  },
}
SCSS
$custom: #257f27;
$custom-light: #6da566;
$custom-dark: #000000;
JSON
{
  "hex": "#257f27",
  "rgb": {
    "r": 37,
    "g": 127,
    "b": 39
  },
  "hsl": {
    "h": 121.333,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52501,
    "c": 0.14992,
    "h": 143.4
  },
  "luminance": 0.15719
}

Semantic roles & 50–950 ramp

primary
#257F27
secondary
#B14FAF
accent
#4ADBDE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #257F27

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

Preview Lab → · Contrast checker → · Palette generator →

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