#257F34#257F34

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

Color values

HEX#257F34
RGBrgb(37, 127, 52)
HSLhsl(130, 55%, 32%)
HSVhsv(130, 71%, 50%)
CMYKcmyk(70.9%, 0%, 59.1%, 50.2%)
CIE-LABlab(46.74, -42.76, 32.79)
CIE-LCHlch(46.74, 53.88, 142.52°)
OKLaboklab(52.65% -0.1154 0.0779)
OKLCHoklch(52.65% 0.139 146)
XYZxyz(8.9715, 15.8190, 5.8287)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257F34 #7F2570
analogous
#437F25 #257F34 #257F61
triadic
#257F34 #34257F #7F3425
tetradic
#257F34 #25437F #7F2570 #7F6125
square
#257F34 #25437F #7F2570 #7F6125
split-complementary
#257F34 #61257F #7F2543
monochromatic
#09200D #175021 #257F34 #33AE47 #52CD66

Accessibility & contrast

On white

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

On black

4.16
#257F34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##257F34#FFFFFF#000000##FFFFFF
##257F341.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81732D
Deuteranopia (green-blind)
#766C3A
Tritanopia (blue-blind)
#037C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #257f34;
/* rgb */ color: rgb(37, 127, 52);
/* oklch */ color: oklch(52.7% 0.139 146.0);
Tailwind
colors: {
  custom: {
    50: '#6da56e',
    500: '#257f34',
    950: '#000000',
  },
}
SCSS
$custom: #257f34;
$custom-light: #6da56e;
$custom-dark: #000000;
JSON
{
  "hex": "#257f34",
  "rgb": {
    "r": 37,
    "g": 127,
    "b": 52
  },
  "hsl": {
    "h": 130,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52655,
    "c": 0.13924,
    "h": 146
  },
  "luminance": 0.1582
}

Semantic roles & 50–950 ramp

primary
#257F34
secondary
#B14FA0
accent
#4AC5DE
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #257F34

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

Preview Lab → · Contrast checker → · Palette generator →

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