#617818#617818

#617818 is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.6% C 0.121 H 122.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#617818
RGBrgb(97, 120, 24)
HSLhsl(74, 67%, 28%)
HSVhsv(74, 80%, 47%)
CMYKcmyk(19.2%, 0%, 80%, 52.9%)
CIE-LABlab(47.03, -22.16, 46.07)
CIE-LCHlch(47.03, 51.13, 115.68°)
OKLaboklab(53.58% -0.0651 0.1015)
OKLCHoklch(53.58% 0.121 122.7)
XYZxyz(11.8113, 16.0402, 3.3378)
Luminance0.1604 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#617818 #2F1878
analogous
#785F18 #617818 #317818
triadic
#617818 #186178 #781861
tetradic
#617818 #18785F #2F1878 #781831
square
#617818 #18785F #2F1878 #781831
split-complementary
#617818 #183178 #5F1878
monochromatic
#151A05 #38450E #617818 #8AAB22 #AFD634

Accessibility & contrast

On white

4.99
#617818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#617818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #617818
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##617818#FFFFFF#000000##FFFFFF
##6178181.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#7D6F21
Tritanopia (blue-blind)
#667266
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #617818;
/* rgb */ color: rgb(97, 120, 24);
/* oklch */ color: oklch(53.6% 0.121 122.7);
Tailwind
colors: {
  custom: {
    50: '#919f5e',
    500: '#617818',
    950: '#000000',
  },
}
SCSS
$custom: #617818;
$custom-light: #919f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#617818",
  "rgb": {
    "r": 97,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 74.375,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5358,
    "c": 0.12055,
    "h": 122.7
  },
  "luminance": 0.1604
}

Semantic roles & 50–950 ramp

primary
#617818
secondary
#593FAD
accent
#3EEA67
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #617818

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

Preview Lab → · Contrast checker → · Palette generator →

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