#257F29#257F29

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

Color values

HEX#257F29
RGBrgb(37, 127, 41)
HSLhsl(123, 55%, 32%)
HSVhsv(123, 71%, 50%)
CMYKcmyk(70.9%, 0%, 67.7%, 50.2%)
CIE-LABlab(46.62, -44.13, 37.94)
CIE-LCHlch(46.62, 58.20, 139.31°)
OKLaboklab(52.52% -0.1196 0.0879)
OKLCHoklch(52.52% 0.148 143.7)
XYZxyz(8.7520, 15.7312, 4.6726)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257F29 #7F257B
analogous
#4E7F25 #257F29 #257F56
triadic
#257F29 #29257F #7F2925
tetradic
#257F29 #254E7F #7F257B #7F5625
square
#257F29 #254E7F #7F257B #7F5625
split-complementary
#257F29 #56257F #7F254E
monochromatic
#09200A #17501A #257F29 #33AE38 #52CD57

Accessibility & contrast

On white

5.06
#257F29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#257F29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257F29
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257F29#FFFFFF#000000##FFFFFF
##257F291.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731E
Deuteranopia (green-blind)
#776C31
Tritanopia (blue-blind)
#0A7B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #257f29;
/* rgb */ color: rgb(37, 127, 41);
/* oklch */ color: oklch(52.5% 0.148 143.7);
Tailwind
colors: {
  custom: {
    50: '#6da567',
    500: '#257f29',
    950: '#000000',
  },
}
SCSS
$custom: #257f29;
$custom-light: #6da567;
$custom-dark: #000000;
JSON
{
  "hex": "#257f29",
  "rgb": {
    "r": 37,
    "g": 127,
    "b": 41
  },
  "hsl": {
    "h": 122.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52522,
    "c": 0.14841,
    "h": 143.7
  },
  "luminance": 0.15732
}

Semantic roles & 50–950 ramp

primary
#257F29
secondary
#B14FAC
accent
#4AD8DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #257F29

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

Preview Lab → · Contrast checker → · Palette generator →

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