#257F18#257F18

#257F18 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.159 H 141.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#257F18
RGBrgb(37, 127, 24)
HSLhsl(112, 68%, 30%)
HSVhsv(112, 81%, 50%)
CMYKcmyk(70.9%, 0%, 81.1%, 50.2%)
CIE-LABlab(46.49, -45.63, 44.56)
CIE-LCHlch(46.49, 63.78, 135.68°)
OKLaboklab(52.38% -0.1246 0.0994)
OKLCHoklch(52.38% 0.159 141.4)
XYZxyz(8.5167, 15.6371, 3.4334)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257F18 #72187F
analogous
#597F18 #257F18 #187F3E
triadic
#257F18 #18257F #7F1825
tetradic
#257F18 #18597F #72187F #7F3E18
square
#257F18 #18597F #72187F #7F3E18
split-complementary
#257F18 #3E187F #7F1859
monochromatic
#071A05 #164C0E #257F18 #34B222 #4CD938

Accessibility & contrast

On white

5.09
#257F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#257F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257F18
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257F18#FFFFFF#000000##FFFFFF
##257F181.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827300
Deuteranopia (green-blind)
#786B24
Tritanopia (blue-blind)
#107B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #257f18;
/* rgb */ color: rgb(37, 127, 24);
/* oklch */ color: oklch(52.4% 0.159 141.4);
Tailwind
colors: {
  custom: {
    50: '#6ea55e',
    500: '#257f18',
    950: '#000000',
  },
}
SCSS
$custom: #257f18;
$custom-light: #6ea55e;
$custom-dark: #000000;
JSON
{
  "hex": "#257f18",
  "rgb": {
    "r": 37,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 112.427,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52378,
    "c": 0.15939,
    "h": 141.4
  },
  "luminance": 0.15638
}

Semantic roles & 50–950 ramp

primary
#257F18
secondary
#A53FB3
accent
#3DEBD5
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #257F18

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

Preview Lab → · Contrast checker → · Palette generator →

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