#257E22#257E22

#257E22 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.152 H 142.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#257E22
RGBrgb(37, 126, 34)
HSLhsl(118, 58%, 31%)
HSVhsv(118, 73%, 49%)
CMYKcmyk(70.6%, 0%, 73%, 50.6%)
CIE-LABlab(46.22, -44.48, 40.55)
CIE-LCHlch(46.22, 60.19, 137.64°)
OKLaboklab(52.17% -0.1209 0.0925)
OKLCHoklch(52.17% 0.152 142.6)
XYZxyz(8.5120, 15.4296, 4.0427)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257E22 #7B227E
analogous
#537E22 #257E22 #227E4D
triadic
#257E22 #22257E #7E2225
tetradic
#257E22 #22537E #7B227E #7E4D22
square
#257E22 #22537E #7B227E #7E4D22
split-complementary
#257E22 #4D227E #7E2253
monochromatic
#091E08 #174E15 #257E22 #33AE2F #50CF4C

Accessibility & contrast

On white

5.14
#257E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#257E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257E22
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257E22#FFFFFF#000000##FFFFFF
##257E221.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817213
Deuteranopia (green-blind)
#766B2B
Tritanopia (blue-blind)
#0E7A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #257e22;
/* rgb */ color: rgb(37, 126, 34);
/* oklch */ color: oklch(52.2% 0.152 142.6);
Tailwind
colors: {
  custom: {
    50: '#6da463',
    500: '#257e22',
    950: '#000000',
  },
}
SCSS
$custom: #257e22;
$custom-light: #6da463;
$custom-dark: #000000;
JSON
{
  "hex": "#257e22",
  "rgb": {
    "r": 37,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 118.043,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52169,
    "c": 0.15222,
    "h": 142.6
  },
  "luminance": 0.15431
}

Semantic roles & 50–950 ramp

primary
#257E22
secondary
#AD4BB1
accent
#47E1DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #257E22

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

Preview Lab → · Contrast checker → · Palette generator →

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