#617A1F#617A1F

#617A1F is a mid, moderate yellow-green. Relative luminance 0.166; OKLCH L 54.1% C 0.119 H 123.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#617A1F
RGBrgb(97, 122, 31)
HSLhsl(76, 59%, 30%)
HSVhsv(76, 75%, 48%)
CMYKcmyk(20.5%, 0%, 74.6%, 52.2%)
CIE-LABlab(47.70, -22.79, 44.17)
CIE-LCHlch(47.70, 49.70, 117.29°)
OKLaboklab(54.14% -0.0662 0.0987)
OKLCHoklch(54.14% 0.119 123.9)
XYZxyz(12.1367, 16.5593, 3.8529)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#617A1F #381F7A
analogous
#7A661F #617A1F #337A1F
triadic
#617A1F #1F617A #7A1F61
tetradic
#617A1F #1F7A66 #381F7A #7A1F33
square
#617A1F #1F7A66 #381F7A #7A1F33
split-complementary
#617A1F #1F337A #661F7A
monochromatic
#131806 #3A4913 #617A1F #88AB2B #A9CF44

Accessibility & contrast

On white

4.87
#617A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#617A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #617A1F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##617A1F#FFFFFF#000000##FFFFFF
##617A1F1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720F
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#667468
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #617a1f;
/* rgb */ color: rgb(97, 122, 31);
/* oklch */ color: oklch(54.1% 0.119 123.9);
Tailwind
colors: {
  custom: {
    50: '#91a061',
    500: '#617a1f',
    950: '#000000',
  },
}
SCSS
$custom: #617a1f;
$custom-light: #91a061;
$custom-dark: #000000;
JSON
{
  "hex": "#617a1f",
  "rgb": {
    "r": 97,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 76.484,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.54138,
    "c": 0.11883,
    "h": 123.9
  },
  "luminance": 0.16559
}

Semantic roles & 50–950 ramp

primary
#617A1F
secondary
#6347AD
accent
#45E370
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0E05
muted
#7E7E7A

Preview Lab

Preview with #617A1F

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

Preview Lab → · Contrast checker → · Palette generator →

#617A1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva