#257315#257315

#257315 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.147 H 140.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#257315
RGBrgb(37, 115, 21)
HSLhsl(110, 69%, 27%)
HSVhsv(110, 82%, 45%)
CMYKcmyk(67.8%, 0%, 81.7%, 54.9%)
CIE-LABlab(42.32, -41.51, 41.58)
CIE-LCHlch(42.32, 58.75, 134.95°)
OKLaboklab(48.91% -0.1136 0.0928)
OKLCHoklch(48.91% 0.147 140.8)
XYZxyz(7.0287, 12.7082, 2.7918)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257315 #631573
analogous
#547315 #257315 #157334
triadic
#257315 #152573 #731525
tetradic
#257315 #155473 #631573 #733415
square
#257315 #155473 #631573 #733415
split-complementary
#257315 #341573 #731554
monochromatic
#081A05 #143F0C #257315 #36A71E #48D82A

Accessibility & contrast

On white

5.93
#257315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#257315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257315
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257315#FFFFFF#000000##FFFFFF
##2573151.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6D6120
Tritanopia (blue-blind)
#176F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #257315;
/* rgb */ color: rgb(37, 115, 21);
/* oklch */ color: oklch(48.9% 0.147 140.8);
Tailwind
colors: {
  custom: {
    50: '#6c9c5b',
    500: '#257315',
    950: '#000000',
  },
}
SCSS
$custom: #257315;
$custom-light: #6c9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#257315",
  "rgb": {
    "r": 37,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 109.787,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48912,
    "c": 0.14667,
    "h": 140.8
  },
  "luminance": 0.12709
}

Semantic roles & 50–950 ramp

primary
#257315
secondary
#963BA9
accent
#3CECCE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #257315

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

Preview Lab → · Contrast checker → · Palette generator →

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