#257F35#257F35

#257F35 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.138 H 146.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#257F35
RGBrgb(37, 127, 53)
HSLhsl(131, 55%, 32%)
HSVhsv(131, 71%, 50%)
CMYKcmyk(70.9%, 0%, 58.3%, 50.2%)
CIE-LABlab(46.75, -42.62, 32.30)
CIE-LCHlch(46.75, 53.47, 142.84°)
OKLaboklab(52.67% -0.115 0.0769)
OKLCHoklch(52.67% 0.138 146.2)
XYZxyz(8.9943, 15.8281, 5.9486)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257F35 #7F256F
analogous
#427F25 #257F35 #257F62
triadic
#257F35 #35257F #7F3525
tetradic
#257F35 #25427F #7F256F #7F6225
square
#257F35 #25427F #7F256F #7F6225
split-complementary
#257F35 #62257F #7F2542
monochromatic
#09200D #175021 #257F35 #33AE49 #52CD68

Accessibility & contrast

On white

5.04
#257F35 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#257F35 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257F35
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257F35#FFFFFF#000000##FFFFFF
##257F351.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81732E
Deuteranopia (green-blind)
#766C3B
Tritanopia (blue-blind)
#027C6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #257f35;
/* rgb */ color: rgb(37, 127, 53);
/* oklch */ color: oklch(52.7% 0.138 146.2);
Tailwind
colors: {
  custom: {
    50: '#6da56e',
    500: '#257f35',
    950: '#000000',
  },
}
SCSS
$custom: #257f35;
$custom-light: #6da56e;
$custom-dark: #000000;
JSON
{
  "hex": "#257f35",
  "rgb": {
    "r": 37,
    "g": 127,
    "b": 53
  },
  "hsl": {
    "h": 130.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52669,
    "c": 0.13834,
    "h": 146.2
  },
  "luminance": 0.15829
}

Semantic roles & 50–950 ramp

primary
#257F35
secondary
#B14F9F
accent
#4AC4DE
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #257F35

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

Preview Lab → · Contrast checker → · Palette generator →

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