#257D26#257D26

#257D26 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.148 H 143.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#257D26
RGBrgb(37, 125, 38)
HSLhsl(121, 54%, 32%)
HSVhsv(121, 70%, 49%)
CMYKcmyk(70.4%, 0%, 69.6%, 51%)
CIE-LABlab(45.91, -43.72, 38.51)
CIE-LCHlch(45.91, 58.26, 138.62°)
OKLaboklab(51.92% -0.1186 0.0887)
OKLCHoklch(51.92% 0.148 143.2)
XYZxyz(8.4459, 15.1996, 4.3221)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257D26 #7D257C
analogous
#507D25 #257D26 #257D52
triadic
#257D26 #26257D #7D2625
tetradic
#257D26 #25507D #7D257C #7D5225
square
#257D26 #25507D #7D257C #7D5225
split-complementary
#257D26 #52257D #7D2550
monochromatic
#091F09 #174E18 #257D26 #33AC34 #51CB52

Accessibility & contrast

On white

5.20
#257D26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#257D26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257D26
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257D26#FFFFFF#000000##FFFFFF
##257D261.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711A
Deuteranopia (green-blind)
#756A2E
Tritanopia (blue-blind)
#0D796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #257d26;
/* rgb */ color: rgb(37, 125, 38);
/* oklch */ color: oklch(51.9% 0.148 143.2);
Tailwind
colors: {
  custom: {
    50: '#6da465',
    500: '#257d26',
    950: '#000000',
  },
}
SCSS
$custom: #257d26;
$custom-light: #6da465;
$custom-dark: #000000;
JSON
{
  "hex": "#257d26",
  "rgb": {
    "r": 37,
    "g": 125,
    "b": 38
  },
  "hsl": {
    "h": 120.682,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51922,
    "c": 0.14814,
    "h": 143.2
  },
  "luminance": 0.152
}

Semantic roles & 50–950 ramp

primary
#257D26
secondary
#AF4FAE
accent
#4ADCDE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #257D26

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

Preview Lab → · Contrast checker → · Palette generator →

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