#617312#617312

#617312 is a mid, moderate yellow-green. Relative luminance 0.148; OKLCH L 52.3% C 0.117 H 120.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#617312
RGBrgb(97, 115, 18)
HSLhsl(71, 73%, 26%)
HSVhsv(71, 84%, 45%)
CMYKcmyk(15.7%, 0%, 84.3%, 54.9%)
CIE-LABlab(45.42, -19.85, 46.52)
CIE-LCHlch(45.42, 50.58, 113.10°)
OKLaboklab(52.28% -0.0592 0.1013)
OKLCHoklch(52.28% 0.117 120.3)
XYZxyz(11.1699, 14.8466, 2.8494)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#617312 #241273
analogous
#735412 #617312 #307312
triadic
#617312 #126173 #731261
tetradic
#617312 #127354 #241273 #731230
square
#617312 #127354 #241273 #731230
split-complementary
#617312 #123073 #541273
monochromatic
#161A04 #343E0A #617312 #8EA81A #BADD23

Accessibility & contrast

On white

5.29
#617312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#617312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #617312
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##617312#FFFFFF#000000##FFFFFF
##6173121.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#796C1C
Tritanopia (blue-blind)
#676C62
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #617312;
/* rgb */ color: rgb(97, 115, 18);
/* oklch */ color: oklch(52.3% 0.117 120.3);
Tailwind
colors: {
  custom: {
    50: '#919b5a',
    500: '#617312',
    950: '#000000',
  },
}
SCSS
$custom: #617312;
$custom-light: #919b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#617312",
  "rgb": {
    "r": 97,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 71.134,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52276,
    "c": 0.11738,
    "h": 120.3
  },
  "luminance": 0.14847
}

Semantic roles & 50–950 ramp

primary
#617312
secondary
#4C37AA
accent
#38F05A
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #617312

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

Preview Lab → · Contrast checker → · Palette generator →

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