#257522#257522

#257522 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.141 H 142.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#257522
RGBrgb(37, 117, 34)
HSLhsl(118, 55%, 30%)
HSVhsv(118, 71%, 46%)
CMYKcmyk(68.4%, 0%, 70.9%, 54.1%)
CIE-LABlab(43.11, -41.16, 37.27)
CIE-LCHlch(43.11, 55.52, 137.84°)
OKLaboklab(49.59% -0.1119 0.0856)
OKLCHoklch(49.59% 0.141 142.6)
XYZxyz(7.4126, 13.2306, 3.6762)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257522 #722275
analogous
#4F7522 #257522 #227548
triadic
#257522 #222575 #752225
tetradic
#257522 #224F75 #722275 #754822
square
#257522 #224F75 #722275 #754822
split-complementary
#257522 #482275 #75224F
monochromatic
#071807 #164614 #257522 #34A430 #4CCA48

Accessibility & contrast

On white

5.76
#257522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#257522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257522
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257522#FFFFFF#000000##FFFFFF
##2575221.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A16
Deuteranopia (green-blind)
#6E632A
Tritanopia (blue-blind)
#137164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #257522;
/* rgb */ color: rgb(37, 117, 34);
/* oklch */ color: oklch(49.6% 0.141 142.6);
Tailwind
colors: {
  custom: {
    50: '#6b9e62',
    500: '#257522',
    950: '#000000',
  },
}
SCSS
$custom: #257522;
$custom-light: #6b9e62;
$custom-dark: #000000;
JSON
{
  "hex": "#257522",
  "rgb": {
    "r": 37,
    "g": 117,
    "b": 34
  },
  "hsl": {
    "h": 117.831,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49594,
    "c": 0.1409,
    "h": 142.6
  },
  "luminance": 0.13231
}

Semantic roles & 50–950 ramp

primary
#257522
secondary
#A54BA8
accent
#49DED9
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #257522

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

Preview Lab → · Contrast checker → · Palette generator →

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