#617227#617227

#617227 is a mid, moderate yellow-green. Relative luminance 0.147; OKLCH L 52.2% C 0.102 H 120.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#617227
RGBrgb(97, 114, 39)
HSLhsl(74, 49%, 30%)
HSVhsv(74, 66%, 45%)
CMYKcmyk(14.9%, 0%, 65.8%, 55.3%)
CIE-LABlab(45.25, -18.06, 38.22)
CIE-LCHlch(45.25, 42.27, 115.29°)
OKLaboklab(52.18% -0.0523 0.0875)
OKLCHoklch(52.18% 0.102 120.9)
XYZxyz(11.3134, 14.7225, 4.1648)
Luminance0.1472 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#617227 #382772
analogous
#725E27 #617227 #3B7227
triadic
#617227 #276172 #722761
tetradic
#617227 #27725E #382772 #72273B
square
#617227 #27725E #382772 #72273B
split-complementary
#617227 #273B72 #5E2772
monochromatic
#131708 #3A4417 #617227 #88A037 #A9C350

Accessibility & contrast

On white

5.32
#617227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#617227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #617227
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##617227#FFFFFF#000000##FFFFFF
##6172271.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1E
Deuteranopia (green-blind)
#776B2C
Tritanopia (blue-blind)
#666C62
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #617227;
/* rgb */ color: rgb(97, 114, 39);
/* oklch */ color: oklch(52.2% 0.102 120.9);
Tailwind
colors: {
  custom: {
    50: '#909a65',
    500: '#617227',
    950: '#000000',
  },
}
SCSS
$custom: #617227;
$custom-light: #909a65;
$custom-dark: #000000;
JSON
{
  "hex": "#617227",
  "rgb": {
    "r": 97,
    "g": 114,
    "b": 39
  },
  "hsl": {
    "h": 73.6,
    "s": 49.02,
    "l": 30
  },
  "oklch": {
    "l": 0.52183,
    "c": 0.10192,
    "h": 120.9
  },
  "luminance": 0.14722
}

Semantic roles & 50–950 ramp

primary
#617227
secondary
#6350A4
accent
#4FD96E
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0E06
muted
#7E7E7A

Preview Lab

Preview with #617227

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

Preview Lab → · Contrast checker → · Palette generator →

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