#257A20#257A20

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

Color values

HEX#257A20
RGBrgb(37, 122, 32)
HSLhsl(117, 58%, 30%)
HSVhsv(117, 74%, 48%)
CMYKcmyk(69.7%, 0%, 73.8%, 52.2%)
CIE-LABlab(44.82, -43.21, 39.92)
CIE-LCHlch(44.82, 58.83, 137.26°)
OKLaboklab(51.01% -0.1176 0.0909)
OKLCHoklch(51.01% 0.149 142.3)
XYZxyz(7.9827, 14.4158, 3.7281)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257A20 #75207A
analogous
#527A20 #257A20 #207A48
triadic
#257A20 #20257A #7A2025
tetradic
#257A20 #20527A #75207A #7A4820
square
#257A20 #20527A #75207A #7A4820
split-complementary
#257A20 #48207A #7A2052
monochromatic
#081907 #164A13 #257A20 #34AA2D #4ECE46

Accessibility & contrast

On white

5.41
#257A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#257A20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257A20
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257A20#FFFFFF#000000##FFFFFF
##257A201.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E11
Deuteranopia (green-blind)
#736729
Tritanopia (blue-blind)
#117668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #257a20;
/* rgb */ color: rgb(37, 122, 32);
/* oklch */ color: oklch(51.0% 0.149 142.3);
Tailwind
colors: {
  custom: {
    50: '#6da161',
    500: '#257a20',
    950: '#000000',
  },
}
SCSS
$custom: #257a20;
$custom-light: #6da161;
$custom-dark: #000000;
JSON
{
  "hex": "#257a20",
  "rgb": {
    "r": 37,
    "g": 122,
    "b": 32
  },
  "hsl": {
    "h": 116.667,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51009,
    "c": 0.14862,
    "h": 142.3
  },
  "luminance": 0.14417
}

Semantic roles & 50–950 ramp

primary
#257A20
secondary
#A849AD
accent
#46E2D9
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #257A20

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

Preview Lab → · Contrast checker → · Palette generator →

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