#257218#257218

#257218 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.144 H 141.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#257218
RGBrgb(37, 114, 24)
HSLhsl(111, 65%, 27%)
HSVhsv(111, 79%, 45%)
CMYKcmyk(67.5%, 0%, 78.9%, 55.3%)
CIE-LABlab(41.99, -40.92, 40.19)
CIE-LCHlch(41.99, 57.36, 135.52°)
OKLaboklab(48.64% -0.1119 0.0903)
OKLCHoklch(48.64% 0.144 141.1)
XYZxyz(6.9448, 12.4932, 2.9094)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257218 #651872
analogous
#527218 #257218 #187238
triadic
#257218 #182572 #721825
tetradic
#257218 #185272 #651872 #723818
square
#257218 #185272 #651872 #723818
split-complementary
#257218 #381872 #721852
monochromatic
#081905 #153F0D #257218 #35A523 #48D431

Accessibility & contrast

On white

6.00
#257218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#257218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257218
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257218#FFFFFF#000000##FFFFFF
##2572181.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756705
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#176E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #257218;
/* rgb */ color: rgb(37, 114, 24);
/* oklch */ color: oklch(48.6% 0.144 141.1);
Tailwind
colors: {
  custom: {
    50: '#6b9b5c',
    500: '#257218',
    950: '#000000',
  },
}
SCSS
$custom: #257218;
$custom-light: #6b9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#257218",
  "rgb": {
    "r": 37,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 111.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48643,
    "c": 0.14377,
    "h": 141.1
  },
  "luminance": 0.12494
}

Semantic roles & 50–950 ramp

primary
#257218
secondary
#983EA7
accent
#40E8D0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #257218

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

Preview Lab → · Contrast checker → · Palette generator →

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