#257215#257215

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

Color values

HEX#257215
RGBrgb(37, 114, 21)
HSLhsl(110, 69%, 26%)
HSVhsv(110, 82%, 45%)
CMYKcmyk(67.5%, 0%, 81.6%, 55.3%)
CIE-LABlab(41.97, -41.14, 41.24)
CIE-LCHlch(41.97, 58.25, 134.93°)
OKLaboklab(48.62% -0.1126 0.0921)
OKLCHoklch(48.62% 0.145 140.7)
XYZxyz(6.9153, 12.4814, 2.7540)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257215 #621572
analogous
#547215 #257215 #157234
triadic
#257215 #152572 #721525
tetradic
#257215 #155472 #621572 #723415
square
#257215 #155472 #621572 #723415
split-complementary
#257215 #341572 #721554
monochromatic
#081A05 #143E0B #257215 #36A61F #48D82A

Accessibility & contrast

On white

6.01
#257215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #257215
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257215#FFFFFF#000000##FFFFFF
##2572151.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#6C6120
Tritanopia (blue-blind)
#186E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #257215;
/* rgb */ color: rgb(37, 114, 21);
/* oklch */ color: oklch(48.6% 0.145 140.7);
Tailwind
colors: {
  custom: {
    50: '#6b9b5b',
    500: '#257215',
    950: '#000000',
  },
}
SCSS
$custom: #257215;
$custom-light: #6b9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#257215",
  "rgb": {
    "r": 37,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 109.677,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48622,
    "c": 0.14546,
    "h": 140.7
  },
  "luminance": 0.12482
}

Semantic roles & 50–950 ramp

primary
#257215
secondary
#953BA8
accent
#3CECCE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #257215

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

Preview Lab → · Contrast checker → · Palette generator →

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