#257231#257231

#257231 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.124 H 146.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#257231
RGBrgb(37, 114, 49)
HSLhsl(129, 51%, 30%)
HSVhsv(129, 68%, 45%)
CMYKcmyk(67.5%, 0%, 57%, 55.3%)
CIE-LABlab(42.23, -38.12, 28.97)
CIE-LCHlch(42.23, 47.88, 142.77°)
OKLaboklab(48.92% -0.103 0.0693)
OKLCHoklch(48.92% 0.124 146.1)
XYZxyz(7.3342, 12.6489, 4.9601)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257231 #722566
analogous
#3F7225 #257231 #257258
triadic
#257231 #312572 #723125
tetradic
#257231 #253F72 #722566 #725825
square
#257231 #253F72 #722566 #725825
split-complementary
#257231 #582572 #72253F
monochromatic
#07170A #16441D #257231 #34A045 #4CC55F

Accessibility & contrast

On white

5.95
#257231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#257231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257231
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257231#FFFFFF#000000##FFFFFF
##2572311.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682B
Deuteranopia (green-blind)
#6A6136
Tritanopia (blue-blind)
#0F6F63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #257231;
/* rgb */ color: rgb(37, 114, 49);
/* oklch */ color: oklch(48.9% 0.124 146.1);
Tailwind
colors: {
  custom: {
    50: '#6a9b6b',
    500: '#257231',
    950: '#000000',
  },
}
SCSS
$custom: #257231;
$custom-light: #6a9b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#257231",
  "rgb": {
    "r": 37,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 129.351,
    "s": 50.993,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48919,
    "c": 0.12414,
    "h": 146.1
  },
  "luminance": 0.1265
}

Semantic roles & 50–950 ramp

primary
#257231
secondary
#A54E97
accent
#4DC4DA
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #257231

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

Preview Lab → · Contrast checker → · Palette generator →

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