#257C22#257C22

#257C22 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.150 H 142.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#257C22
RGBrgb(37, 124, 34)
HSLhsl(118, 57%, 31%)
HSVhsv(118, 73%, 49%)
CMYKcmyk(70.2%, 0%, 72.6%, 51.4%)
CIE-LABlab(45.53, -43.75, 39.83)
CIE-LCHlch(45.53, 59.16, 137.68°)
OKLaboklab(51.6% -0.1189 0.091)
OKLCHoklch(51.6% 0.15 142.6)
XYZxyz(8.2589, 14.9232, 3.9583)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257C22 #79227C
analogous
#527C22 #257C22 #227C4C
triadic
#257C22 #22257C #7C2225
tetradic
#257C22 #22527C #79227C #7C4C22
square
#257C22 #22527C #79227C #7C4C22
split-complementary
#257C22 #4C227C #7C2252
monochromatic
#081C08 #174C15 #257C22 #33AC2F #4FCE4B

Accessibility & contrast

On white

5.27
#257C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#257C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257C22
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257C22#FFFFFF#000000##FFFFFF
##257C221.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7014
Deuteranopia (green-blind)
#75692B
Tritanopia (blue-blind)
#0F786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #257c22;
/* rgb */ color: rgb(37, 124, 34);
/* oklch */ color: oklch(51.6% 0.150 142.6);
Tailwind
colors: {
  custom: {
    50: '#6da363',
    500: '#257c22',
    950: '#000000',
  },
}
SCSS
$custom: #257c22;
$custom-light: #6da363;
$custom-dark: #000000;
JSON
{
  "hex": "#257c22",
  "rgb": {
    "r": 37,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 118,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51599,
    "c": 0.14975,
    "h": 142.6
  },
  "luminance": 0.14924
}

Semantic roles & 50–950 ramp

primary
#257C22
secondary
#AB4BAF
accent
#48E0DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #257C22

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

Preview Lab → · Contrast checker → · Palette generator →

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