#257A22#257A22

#257A22 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.147 H 142.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#257A22
RGBrgb(37, 122, 34)
HSLhsl(118, 56%, 31%)
HSVhsv(118, 72%, 48%)
CMYKcmyk(69.7%, 0%, 72.1%, 52.2%)
CIE-LABlab(44.84, -43.02, 39.11)
CIE-LCHlch(44.84, 58.14, 137.73°)
OKLaboklab(51.03% -0.117 0.0895)
OKLCHoklch(51.03% 0.147 142.6)
XYZxyz(8.0108, 14.4270, 3.8756)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257A22 #77227A
analogous
#517A22 #257A22 #227A4B
triadic
#257A22 #22257A #7A2225
tetradic
#257A22 #22517A #77227A #7A4B22
square
#257A22 #22517A #77227A #7A4B22
split-complementary
#257A22 #4B227A #7A2251
monochromatic
#081A07 #164A15 #257A22 #34AA2F #4ECD4A

Accessibility & contrast

On white

5.40
#257A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#257A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257A22
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257A22#FFFFFF#000000##FFFFFF
##257A221.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E15
Deuteranopia (green-blind)
#73672A
Tritanopia (blue-blind)
#117668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #257a22;
/* rgb */ color: rgb(37, 122, 34);
/* oklch */ color: oklch(51.0% 0.147 142.6);
Tailwind
colors: {
  custom: {
    50: '#6ca162',
    500: '#257a22',
    950: '#000000',
  },
}
SCSS
$custom: #257a22;
$custom-light: #6ca162;
$custom-dark: #000000;
JSON
{
  "hex": "#257a22",
  "rgb": {
    "r": 37,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 117.955,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51027,
    "c": 0.14725,
    "h": 142.6
  },
  "luminance": 0.14428
}

Semantic roles & 50–950 ramp

primary
#257A22
secondary
#A94BAD
accent
#48E0DB
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #257A22

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

Preview Lab → · Contrast checker → · Palette generator →

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