#257212#257212

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

Color values

HEX#257212
RGBrgb(37, 114, 18)
HSLhsl(108, 73%, 26%)
HSVhsv(108, 84%, 45%)
CMYKcmyk(67.5%, 0%, 84.2%, 55.3%)
CIE-LABlab(41.95, -41.34, 42.21)
CIE-LCHlch(41.95, 59.08, 134.40°)
OKLaboklab(48.6% -0.1133 0.0936)
OKLCHoklch(48.6% 0.147 140.4)
XYZxyz(6.8891, 12.4709, 2.6162)
Luminance0.1247 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257212 #5F1272
analogous
#557212 #257212 #12722F
triadic
#257212 #122572 #721225
tetradic
#257212 #125572 #5F1272 #722F12
square
#257212 #125572 #5F1272 #722F12
split-complementary
#257212 #2F1272 #721255
monochromatic
#091A04 #143D0A #257212 #36A71A #47DC23

Accessibility & contrast

On white

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

On black

3.49
#257212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##257212#FFFFFF#000000##FFFFFF
##2572121.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #257212;
/* rgb */ color: rgb(37, 114, 18);
/* oklch */ color: oklch(48.6% 0.147 140.4);
Tailwind
colors: {
  custom: {
    50: '#6b9b59',
    500: '#257212',
    950: '#000000',
  },
}
SCSS
$custom: #257212;
$custom-light: #6b9b59;
$custom-dark: #000000;
JSON
{
  "hex": "#257212",
  "rgb": {
    "r": 37,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 108.125,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48604,
    "c": 0.14697,
    "h": 140.4
  },
  "luminance": 0.12472
}

Semantic roles & 50–950 ramp

primary
#257212
secondary
#9237A9
accent
#38EFCB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #257212

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

Preview Lab → · Contrast checker → · Palette generator →

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