#257118#257118

#257118 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.143 H 141.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#257118
RGBrgb(37, 113, 24)
HSLhsl(111, 65%, 27%)
HSVhsv(111, 79%, 44%)
CMYKcmyk(67.3%, 0%, 78.8%, 55.7%)
CIE-LABlab(41.64, -40.55, 39.84)
CIE-LCHlch(41.64, 56.85, 135.50°)
OKLaboklab(48.35% -0.1109 0.0896)
OKLCHoklch(48.35% 0.143 141.1)
XYZxyz(6.8326, 12.2688, 2.8720)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257118 #641871
analogous
#527118 #257118 #187138
triadic
#257118 #182571 #711825
tetradic
#257118 #185271 #641871 #713818
square
#257118 #185271 #641871 #713818
split-complementary
#257118 #381871 #711852
monochromatic
#081905 #143F0D #257118 #36A323 #48D330

Accessibility & contrast

On white

6.08
#257118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#257118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257118
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257118#FFFFFF#000000##FFFFFF
##2571181.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746605
Deuteranopia (green-blind)
#6B6022
Tritanopia (blue-blind)
#186D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #257118;
/* rgb */ color: rgb(37, 113, 24);
/* oklch */ color: oklch(48.4% 0.143 141.1);
Tailwind
colors: {
  custom: {
    50: '#6b9b5c',
    500: '#257118',
    950: '#000000',
  },
}
SCSS
$custom: #257118;
$custom-light: #6b9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#257118",
  "rgb": {
    "r": 37,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 111.236,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48354,
    "c": 0.14254,
    "h": 141.1
  },
  "luminance": 0.1227
}

Semantic roles & 50–950 ramp

primary
#257118
secondary
#973EA6
accent
#40E8CF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #257118

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

Preview Lab → · Contrast checker → · Palette generator →

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