#257420#257420

#257420 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.141 H 142.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#257420
RGBrgb(37, 116, 32)
HSLhsl(116, 57%, 29%)
HSVhsv(116, 72%, 45%)
CMYKcmyk(68.1%, 0%, 72.4%, 54.5%)
CIE-LABlab(42.74, -40.98, 37.75)
CIE-LCHlch(42.74, 55.72, 137.35°)
OKLaboklab(49.29% -0.1116 0.0863)
OKLCHoklch(49.29% 0.141 142.3)
XYZxyz(7.2686, 12.9876, 3.4900)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257420 #6F2074
analogous
#4F7420 #257420 #207445
triadic
#257420 #202574 #742025
tetradic
#257420 #204F74 #6F2074 #744520
square
#257420 #204F74 #6F2074 #744520
split-complementary
#257420 #452074 #74204F
monochromatic
#081807 #164413 #257420 #34A42D #4BCB43

Accessibility & contrast

On white

5.84
#257420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#257420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257420
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257420#FFFFFF#000000##FFFFFF
##2574201.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776913
Deuteranopia (green-blind)
#6D6228
Tritanopia (blue-blind)
#147063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #257420;
/* rgb */ color: rgb(37, 116, 32);
/* oklch */ color: oklch(49.3% 0.141 142.3);
Tailwind
colors: {
  custom: {
    50: '#6b9d60',
    500: '#257420',
    950: '#000000',
  },
}
SCSS
$custom: #257420;
$custom-light: #6b9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#257420",
  "rgb": {
    "r": 37,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 116.429,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49287,
    "c": 0.14107,
    "h": 142.3
  },
  "luminance": 0.12988
}

Semantic roles & 50–950 ramp

primary
#257420
secondary
#A248A8
accent
#48E0D7
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #257420

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

Preview Lab → · Contrast checker → · Palette generator →

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