#617228#617228

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

Color values

HEX#617228
RGBrgb(97, 114, 40)
HSLhsl(74, 48%, 30%)
HSVhsv(74, 65%, 45%)
CMYKcmyk(14.9%, 0%, 64.9%, 55.3%)
CIE-LABlab(45.26, -17.98, 37.76)
CIE-LCHlch(45.26, 41.82, 115.46°)
OKLaboklab(52.19% -0.052 0.0866)
OKLCHoklch(52.19% 0.101 121)
XYZxyz(11.3302, 14.7292, 4.2532)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#617228 #392872
analogous
#725E28 #617228 #3C7228
triadic
#617228 #286172 #722861
tetradic
#617228 #28725E #392872 #72283C
square
#617228 #28725E #392872 #72283C
split-complementary
#617228 #283C72 #5E2872
monochromatic
#141708 #3A4518 #617228 #889F38 #A9C252

Accessibility & contrast

On white

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

On black

3.95
#617228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##617228#FFFFFF#000000##FFFFFF
##6172281.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #617228;
/* rgb */ color: rgb(97, 114, 40);
/* oklch */ color: oklch(52.2% 0.101 121.0);
Tailwind
colors: {
  custom: {
    50: '#909a66',
    500: '#617228',
    950: '#000000',
  },
}
SCSS
$custom: #617228;
$custom-light: #909a66;
$custom-dark: #000000;
JSON
{
  "hex": "#617228",
  "rgb": {
    "r": 97,
    "g": 114,
    "b": 40
  },
  "hsl": {
    "h": 73.784,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52193,
    "c": 0.10104,
    "h": 121
  },
  "luminance": 0.14729
}

Semantic roles & 50–950 ramp

primary
#617228
secondary
#6552A4
accent
#50D86F
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0E06
muted
#7E7E7A

Preview Lab

Preview with #617228

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

Preview Lab → · Contrast checker → · Palette generator →

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