#257928#257928

#257928 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.141 H 143.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#257928
RGBrgb(37, 121, 40)
HSLhsl(122, 53%, 31%)
HSVhsv(122, 69%, 47%)
CMYKcmyk(69.4%, 0%, 66.9%, 52.5%)
CIE-LABlab(44.55, -42.01, 36.12)
CIE-LCHlch(44.55, 55.41, 139.31°)
OKLaboklab(50.8% -0.1139 0.0839)
OKLCHoklch(50.8% 0.141 143.6)
XYZxyz(7.9828, 14.2204, 4.3312)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257928 #792576
analogous
#4C7925 #257928 #257952
triadic
#257928 #282579 #792825
tetradic
#257928 #254C79 #792576 #795225
square
#257928 #254C79 #792576 #795225
split-complementary
#257928 #522579 #79254C
monochromatic
#081B09 #174A19 #257928 #33A837 #4FC954

Accessibility & contrast

On white

5.46
#257928 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#257928 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257928
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257928#FFFFFF#000000##FFFFFF
##2579281.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E1E
Deuteranopia (green-blind)
#71672F
Tritanopia (blue-blind)
#0F7668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #257928;
/* rgb */ color: rgb(37, 121, 40);
/* oklch */ color: oklch(50.8% 0.141 143.6);
Tailwind
colors: {
  custom: {
    50: '#6ca166',
    500: '#257928',
    950: '#000000',
  },
}
SCSS
$custom: #257928;
$custom-light: #6ca166;
$custom-dark: #000000;
JSON
{
  "hex": "#257928",
  "rgb": {
    "r": 37,
    "g": 121,
    "b": 40
  },
  "hsl": {
    "h": 122.143,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50803,
    "c": 0.14148,
    "h": 143.6
  },
  "luminance": 0.14221
}

Semantic roles & 50–950 ramp

primary
#257928
secondary
#AB4EA8
accent
#4BD7DD
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #257928

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

Preview Lab → · Contrast checker → · Palette generator →

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