#257F2D#257F2D

#257F2D is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.145 H 144.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#257F2D
RGBrgb(37, 127, 45)
HSLhsl(125, 55%, 32%)
HSVhsv(125, 71%, 50%)
CMYKcmyk(70.9%, 0%, 64.6%, 50.2%)
CIE-LABlab(46.66, -43.67, 36.13)
CIE-LCHlch(46.66, 56.68, 140.40°)
OKLaboklab(52.57% -0.1182 0.0844)
OKLCHoklch(52.57% 0.145 144.5)
XYZxyz(8.8254, 15.7606, 5.0591)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257F2D #7F2577
analogous
#4A7F25 #257F2D #257F5A
triadic
#257F2D #2D257F #7F2D25
tetradic
#257F2D #254A7F #7F2577 #7F5A25
square
#257F2D #254A7F #7F2577 #7F5A25
split-complementary
#257F2D #5A257F #7F254A
monochromatic
#09200B #17501C #257F2D #33AE3E #52CD5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##257F2D#FFFFFF#000000##FFFFFF
##257F2D1.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)
#817324
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#077C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #257f2d;
/* rgb */ color: rgb(37, 127, 45);
/* oklch */ color: oklch(52.6% 0.145 144.5);
Tailwind
colors: {
  custom: {
    50: '#6da569',
    500: '#257f2d',
    950: '#000000',
  },
}
SCSS
$custom: #257f2d;
$custom-light: #6da569;
$custom-dark: #000000;
JSON
{
  "hex": "#257f2d",
  "rgb": {
    "r": 37,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 125.333,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52566,
    "c": 0.14524,
    "h": 144.5
  },
  "luminance": 0.15762
}

Semantic roles & 50–950 ramp

primary
#257F2D
secondary
#B14FA8
accent
#4AD1DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #257F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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