#257312#257312

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

Color values

HEX#257312
RGBrgb(37, 115, 18)
HSLhsl(108, 73%, 26%)
HSVhsv(108, 84%, 45%)
CMYKcmyk(67.8%, 0%, 84.3%, 54.9%)
CIE-LABlab(42.30, -41.70, 42.54)
CIE-LCHlch(42.30, 59.57, 134.43°)
OKLaboklab(48.89% -0.1143 0.0943)
OKLCHoklch(48.89% 0.148 140.5)
XYZxyz(7.0025, 12.6978, 2.6540)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257312 #601273
analogous
#557312 #257312 #12732F
triadic
#257312 #122573 #731225
tetradic
#257312 #125573 #601273 #732F12
square
#257312 #125573 #601273 #732F12
split-complementary
#257312 #2F1273 #731255
monochromatic
#091A04 #143E0A #257312 #36A81A #47DD23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##257312#FFFFFF#000000##FFFFFF
##2573121.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)
#6D611E
Tritanopia (blue-blind)
#186F61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #257312;
/* rgb */ color: rgb(37, 115, 18);
/* oklch */ color: oklch(48.9% 0.148 140.5);
Tailwind
colors: {
  custom: {
    50: '#6c9c59',
    500: '#257312',
    950: '#000000',
  },
}
SCSS
$custom: #257312;
$custom-light: #6c9c59;
$custom-dark: #000000;
JSON
{
  "hex": "#257312",
  "rgb": {
    "r": 37,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 108.247,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48893,
    "c": 0.14817,
    "h": 140.5
  },
  "luminance": 0.12698
}

Semantic roles & 50–950 ramp

primary
#257312
secondary
#9337AA
accent
#38F0CC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #257312

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

Preview Lab → · Contrast checker → · Palette generator →

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