#257227#257227

#257227 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.133 H 143.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#257227
RGBrgb(37, 114, 39)
HSLhsl(122, 51%, 30%)
HSVhsv(122, 68%, 45%)
CMYKcmyk(67.5%, 0%, 65.8%, 55.3%)
CIE-LABlab(42.11, -39.46, 33.88)
CIE-LCHlch(42.11, 52.01, 139.35°)
OKLaboklab(48.79% -0.1071 0.079)
OKLCHoklch(48.79% 0.133 143.6)
XYZxyz(7.1460, 12.5737, 3.9694)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257227 #722570
analogous
#4A7225 #257227 #25724D
triadic
#257227 #272572 #722725
tetradic
#257227 #254A72 #722570 #724D25
square
#257227 #254A72 #722570 #724D25
split-complementary
#257227 #4D2572 #72254A
monochromatic
#071708 #164417 #257227 #34A037 #4CC550

Accessibility & contrast

On white

5.97
#257227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#257227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257227
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257227#FFFFFF#000000##FFFFFF
##2572271.005.973.515.97
#FFFFFF5.971.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74671E
Deuteranopia (green-blind)
#6B612D
Tritanopia (blue-blind)
#136F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #257227;
/* rgb */ color: rgb(37, 114, 39);
/* oklch */ color: oklch(48.8% 0.133 143.6);
Tailwind
colors: {
  custom: {
    50: '#6a9b64',
    500: '#257227',
    950: '#000000',
  },
}
SCSS
$custom: #257227;
$custom-light: #6a9b64;
$custom-dark: #000000;
JSON
{
  "hex": "#257227",
  "rgb": {
    "r": 37,
    "g": 114,
    "b": 39
  },
  "hsl": {
    "h": 121.558,
    "s": 50.993,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48786,
    "c": 0.13306,
    "h": 143.6
  },
  "luminance": 0.12574
}

Semantic roles & 50–950 ramp

primary
#257227
secondary
#A54EA2
accent
#4DD7DA
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #257227

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

Preview Lab → · Contrast checker → · Palette generator →

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