#257E12#257E12

#257E12 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.161 H 140.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#257E12
RGBrgb(37, 126, 18)
HSLhsl(109, 75%, 28%)
HSVhsv(109, 86%, 49%)
CMYKcmyk(70.6%, 0%, 85.7%, 50.6%)
CIE-LABlab(46.12, -45.64, 46.05)
CIE-LCHlch(46.12, 64.84, 134.74°)
OKLaboklab(52.06% -0.1249 0.1017)
OKLCHoklch(52.06% 0.161 140.9)
XYZxyz(8.3326, 15.3578, 3.0974)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257E12 #6B127E
analogous
#5B7E12 #257E12 #127E35
triadic
#257E12 #12257E #7E1225
tetradic
#257E12 #125B7E #6B127E #7E3512
square
#257E12 #125B7E #6B127E #7E3512
split-complementary
#257E12 #35127E #7E125B
monochromatic
#081B04 #15480A #257E12 #35B41A #4AE12A

Accessibility & contrast

On white

5.16
#257E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#257E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257E12
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257E12#FFFFFF#000000##FFFFFF
##257E121.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#776B20
Tritanopia (blue-blind)
#127A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #257e12;
/* rgb */ color: rgb(37, 126, 18);
/* oklch */ color: oklch(52.1% 0.161 140.9);
Tailwind
colors: {
  custom: {
    50: '#6ea45b',
    500: '#257e12',
    950: '#000000',
  },
}
SCSS
$custom: #257e12;
$custom-light: #6ea45b;
$custom-dark: #000000;
JSON
{
  "hex": "#257e12",
  "rgb": {
    "r": 37,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 109.444,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52058,
    "c": 0.16103,
    "h": 140.9
  },
  "luminance": 0.15359
}

Semantic roles & 50–950 ramp

primary
#257E12
secondary
#9E38B4
accent
#36F2D1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #257E12

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

Preview Lab → · Contrast checker → · Palette generator →

#257E12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva