#257221#257221

#257221 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.138 H 142.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#257221
RGBrgb(37, 114, 33)
HSLhsl(117, 55%, 29%)
HSVhsv(117, 71%, 45%)
CMYKcmyk(67.5%, 0%, 71.1%, 55.3%)
CIE-LABlab(42.06, -40.12, 36.59)
CIE-LCHlch(42.06, 54.30, 137.64°)
OKLaboklab(48.72% -0.1092 0.084)
OKLCHoklch(48.72% 0.138 142.4)
XYZxyz(7.0544, 12.5370, 3.4867)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257221 #6E2172
analogous
#4E7221 #257221 #217246
triadic
#257221 #212572 #722125
tetradic
#257221 #214E72 #6E2172 #724621
square
#257221 #214E72 #6E2172 #724621
split-complementary
#257221 #462172 #72214E
monochromatic
#081807 #164313 #257221 #34A12F #4BC944

Accessibility & contrast

On white

5.99
#257221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#257221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257221
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257221#FFFFFF#000000##FFFFFF
##2572211.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756716
Deuteranopia (green-blind)
#6B6129
Tritanopia (blue-blind)
#156E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #257221;
/* rgb */ color: rgb(37, 114, 33);
/* oklch */ color: oklch(48.7% 0.138 142.4);
Tailwind
colors: {
  custom: {
    50: '#6b9b61',
    500: '#257221',
    950: '#000000',
  },
}
SCSS
$custom: #257221;
$custom-light: #6b9b61;
$custom-dark: #000000;
JSON
{
  "hex": "#257221",
  "rgb": {
    "r": 37,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 117.037,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48721,
    "c": 0.13777,
    "h": 142.4
  },
  "luminance": 0.12538
}

Semantic roles & 50–950 ramp

primary
#257221
secondary
#A149A5
accent
#49DED7
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #257221

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

Preview Lab → · Contrast checker → · Palette generator →

#257221 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva