#617D1F#617D1F

#617D1F is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.9% C 0.123 H 125.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#617D1F
RGBrgb(97, 125, 31)
HSLhsl(78, 60%, 31%)
HSVhsv(78, 75%, 49%)
CMYKcmyk(22.4%, 0%, 75.2%, 51%)
CIE-LABlab(48.65, -24.30, 45.10)
CIE-LCHlch(48.65, 51.23, 118.32°)
OKLaboklab(54.9% -0.0704 0.1006)
OKLCHoklch(54.9% 0.123 125)
XYZxyz(12.5108, 17.3074, 3.9776)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#617D1F #3B1F7D
analogous
#7D6A1F #617D1F #327D1F
triadic
#617D1F #1F617D #7D1F61
tetradic
#617D1F #1F7D6A #3B1F7D #7D1F32
square
#617D1F #1F7D6A #3B1F7D #7D1F32
split-complementary
#617D1F #1F327D #6A1F7D
monochromatic
#151B07 #3B4C13 #617D1F #87AE2B #A7D145

Accessibility & contrast

On white

4.71
#617D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#617D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #617D1F
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##617D1F#FFFFFF#000000##FFFFFF
##617D1F1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84750D
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#66776B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #617d1f;
/* rgb */ color: rgb(97, 125, 31);
/* oklch */ color: oklch(54.9% 0.123 125.0);
Tailwind
colors: {
  custom: {
    50: '#91a262',
    500: '#617d1f',
    950: '#000000',
  },
}
SCSS
$custom: #617d1f;
$custom-light: #91a262;
$custom-dark: #000000;
JSON
{
  "hex": "#617d1f",
  "rgb": {
    "r": 97,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 77.872,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54902,
    "c": 0.12279,
    "h": 125
  },
  "luminance": 0.17308
}

Semantic roles & 50–950 ramp

primary
#617D1F
secondary
#6748B0
accent
#44E374
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #617D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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