#617212#617212

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

Color values

HEX#617212
RGBrgb(97, 114, 18)
HSLhsl(71, 73%, 26%)
HSVhsv(71, 84%, 45%)
CMYKcmyk(14.9%, 0%, 84.2%, 55.3%)
CIE-LABlab(45.11, -19.32, 46.25)
CIE-LCHlch(45.11, 50.12, 112.68°)
OKLaboklab(52.02% -0.0578 0.1007)
OKLCHoklch(52.02% 0.116 119.9)
XYZxyz(11.0565, 14.6197, 2.8116)
Luminance0.1462 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#617212 #231272
analogous
#725312 #617212 #317212
triadic
#617212 #126172 #721261
tetradic
#617212 #127253 #231272 #721231
square
#617212 #127253 #231272 #721231
split-complementary
#617212 #123172 #531272
monochromatic
#161A04 #343D0A #617212 #8EA71A #BBDC23

Accessibility & contrast

On white

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

On black

3.92
#617212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##617212#FFFFFF#000000##FFFFFF
##6172121.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#786B1C
Tritanopia (blue-blind)
#676B61
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #617212;
/* rgb */ color: rgb(97, 114, 18);
/* oklch */ color: oklch(52.0% 0.116 119.9);
Tailwind
colors: {
  custom: {
    50: '#919a5a',
    500: '#617212',
    950: '#000000',
  },
}
SCSS
$custom: #617212;
$custom-light: #919a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#617212",
  "rgb": {
    "r": 97,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 70.625,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.52022,
    "c": 0.11614,
    "h": 119.9
  },
  "luminance": 0.1462
}

Semantic roles & 50–950 ramp

primary
#617212
secondary
#4B37A9
accent
#38EF59
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #617212

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

Preview Lab → · Contrast checker → · Palette generator →

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