#257412#257412

#257412 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.149 H 140.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#257412
RGBrgb(37, 116, 18)
HSLhsl(108, 73%, 26%)
HSVhsv(108, 84%, 45%)
CMYKcmyk(68.1%, 0%, 84.5%, 54.5%)
CIE-LABlab(42.65, -42.07, 42.86)
CIE-LCHlch(42.65, 60.06, 134.47°)
OKLaboklab(49.18% -0.1153 0.095)
OKLCHoklch(49.18% 0.149 140.5)
XYZxyz(7.1172, 12.9271, 2.6922)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257412 #611274
analogous
#567412 #257412 #127430
triadic
#257412 #122574 #741225
tetradic
#257412 #125674 #611274 #743012
square
#257412 #125674 #611274 #743012
split-complementary
#257412 #301274 #741256
monochromatic
#081A04 #143F0A #257412 #36A91A #47DD23

Accessibility & contrast

On white

5.86
#257412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#257412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257412
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257412#FFFFFF#000000##FFFFFF
##2574121.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#6E621E
Tritanopia (blue-blind)
#177062
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #257412;
/* rgb */ color: rgb(37, 116, 18);
/* oklch */ color: oklch(49.2% 0.149 140.5);
Tailwind
colors: {
  custom: {
    50: '#6c9d5a',
    500: '#257412',
    950: '#000000',
  },
}
SCSS
$custom: #257412;
$custom-light: #6c9d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#257412",
  "rgb": {
    "r": 37,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 108.367,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49182,
    "c": 0.14937,
    "h": 140.5
  },
  "luminance": 0.12928
}

Semantic roles & 50–950 ramp

primary
#257412
secondary
#9437AB
accent
#38F0CC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #257412

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

Preview Lab → · Contrast checker → · Palette generator →

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