#617218#617218

#617218 is a mid, moderate yellow-green. Relative luminance 0.146; OKLCH L 52.1% C 0.113 H 120.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#617218
RGBrgb(97, 114, 24)
HSLhsl(71, 65%, 27%)
HSVhsv(71, 79%, 45%)
CMYKcmyk(14.9%, 0%, 78.9%, 55.3%)
CIE-LABlab(45.14, -19.05, 44.31)
CIE-LCHlch(45.14, 48.23, 113.26°)
OKLaboklab(52.06% -0.0566 0.0977)
OKLCHoklch(52.06% 0.113 120.1)
XYZxyz(11.1122, 14.6420, 3.1048)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#617218 #291872
analogous
#725618 #617218 #347218
triadic
#617218 #186172 #721861
tetradic
#617218 #187256 #291872 #721834
square
#617218 #187256 #291872 #721834
split-complementary
#617218 #183472 #561872
monochromatic
#161905 #363F0D #617218 #8CA523 #B5D431

Accessibility & contrast

On white

5.35
#617218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#617218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #617218
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##617218#FFFFFF#000000##FFFFFF
##6172181.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B03
Deuteranopia (green-blind)
#786B20
Tritanopia (blue-blind)
#676C61
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #617218;
/* rgb */ color: rgb(97, 114, 24);
/* oklch */ color: oklch(52.1% 0.113 120.1);
Tailwind
colors: {
  custom: {
    50: '#919a5d',
    500: '#617218',
    950: '#000000',
  },
}
SCSS
$custom: #617218;
$custom-light: #919a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#617218",
  "rgb": {
    "r": 97,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 71.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.52057,
    "c": 0.11293,
    "h": 120.1
  },
  "luminance": 0.14642
}

Semantic roles & 50–950 ramp

primary
#617218
secondary
#523EA7
accent
#40E85F
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #617218

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

Preview Lab → · Contrast checker → · Palette generator →

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