#257A1F#257A1F

#257A1F is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.149 H 142.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#257A1F
RGBrgb(37, 122, 31)
HSLhsl(116, 59%, 30%)
HSVhsv(116, 75%, 48%)
CMYKcmyk(69.7%, 0%, 74.6%, 52.2%)
CIE-LABlab(44.82, -43.29, 40.32)
CIE-LCHlch(44.82, 59.16, 137.04°)
OKLaboklab(51% -0.1179 0.0916)
OKLCHoklch(51% 0.149 142.2)
XYZxyz(7.9694, 14.4105, 3.6576)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257A1F #741F7A
analogous
#527A1F #257A1F #1F7A47
triadic
#257A1F #1F257A #7A1F25
tetradic
#257A1F #1F527A #741F7A #7A471F
square
#257A1F #1F527A #741F7A #7A471F
split-complementary
#257A1F #471F7A #7A1F52
monochromatic
#071806 #164913 #257A1F #34AB2B #4DCF44

Accessibility & contrast

On white

5.41
#257A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#257A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257A1F
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257A1F#FFFFFF#000000##FFFFFF
##257A1F1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E10
Deuteranopia (green-blind)
#736728
Tritanopia (blue-blind)
#127668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #257a1f;
/* rgb */ color: rgb(37, 122, 31);
/* oklch */ color: oklch(51.0% 0.149 142.2);
Tailwind
colors: {
  custom: {
    50: '#6da161',
    500: '#257a1f',
    950: '#000000',
  },
}
SCSS
$custom: #257a1f;
$custom-light: #6da161;
$custom-dark: #000000;
JSON
{
  "hex": "#257a1f",
  "rgb": {
    "r": 37,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 116.044,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.51,
    "c": 0.14929,
    "h": 142.2
  },
  "luminance": 0.14411
}

Semantic roles & 50–950 ramp

primary
#257A1F
secondary
#A747AD
accent
#45E3D8
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #257A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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