#257D22#257D22

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

Color values

HEX#257D22
RGBrgb(37, 125, 34)
HSLhsl(118, 57%, 31%)
HSVhsv(118, 73%, 49%)
CMYKcmyk(70.4%, 0%, 72.8%, 51%)
CIE-LABlab(45.87, -44.11, 40.19)
CIE-LCHlch(45.87, 59.68, 137.66°)
OKLaboklab(51.88% -0.1199 0.0917)
OKLCHoklch(51.88% 0.151 142.6)
XYZxyz(8.3848, 15.1752, 4.0003)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257D22 #7A227D
analogous
#527D22 #257D22 #227D4C
triadic
#257D22 #22257D #7D2225
tetradic
#257D22 #22527D #7A227D #7D4C22
square
#257D22 #22527D #7A227D #7D4C22
split-complementary
#257D22 #4C227D #7D2252
monochromatic
#091D08 #174D15 #257D22 #33AD2F #50CE4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##257D22#FFFFFF#000000##FFFFFF
##257D221.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)
#807114
Deuteranopia (green-blind)
#766A2B
Tritanopia (blue-blind)
#0F796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #257d22;
/* rgb */ color: rgb(37, 125, 34);
/* oklch */ color: oklch(51.9% 0.151 142.6);
Tailwind
colors: {
  custom: {
    50: '#6da463',
    500: '#257d22',
    950: '#000000',
  },
}
SCSS
$custom: #257d22;
$custom-light: #6da463;
$custom-dark: #000000;
JSON
{
  "hex": "#257d22",
  "rgb": {
    "r": 37,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 118.022,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51884,
    "c": 0.15099,
    "h": 142.6
  },
  "luminance": 0.15176
}

Semantic roles & 50–950 ramp

primary
#257D22
secondary
#AC4BB0
accent
#47E0DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #257D22

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

Preview Lab → · Contrast checker → · Palette generator →

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