#657817#657817

#657817 is a mid, moderate yellow-green. Relative luminance 0.163; OKLCH L 53.9% C 0.119 H 120.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#657817
RGBrgb(101, 120, 23)
HSLhsl(72, 68%, 28%)
HSVhsv(72, 81%, 47%)
CMYKcmyk(15.8%, 0%, 80.8%, 52.9%)
CIE-LABlab(47.32, -20.43, 46.78)
CIE-LCHlch(47.32, 51.05, 113.59°)
OKLaboklab(53.89% -0.0607 0.1026)
OKLCHoklch(53.89% 0.119 120.6)
XYZxyz(12.2382, 16.2615, 3.3045)
Luminance0.1626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#657817 #2A1778
analogous
#785A17 #657817 #347817
triadic
#657817 #176578 #781765
tetradic
#657817 #17785A #2A1778 #781734
square
#657817 #17785A #2A1778 #781734
split-complementary
#657817 #173478 #5A1778
monochromatic
#161A05 #3A450D #657817 #90AB21 #B7D832

Accessibility & contrast

On white

4.94
#657817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#657817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #657817
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##657817#FFFFFF#000000##FFFFFF
##6578171.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#7E7021
Tritanopia (blue-blind)
#6B7166
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #657817;
/* rgb */ color: rgb(101, 120, 23);
/* oklch */ color: oklch(53.9% 0.119 120.6);
Tailwind
colors: {
  custom: {
    50: '#949f5d',
    500: '#657817',
    950: '#000000',
  },
}
SCSS
$custom: #657817;
$custom-light: #949f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#657817",
  "rgb": {
    "r": 101,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 71.753,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53887,
    "c": 0.11924,
    "h": 120.6
  },
  "luminance": 0.16262
}

Semantic roles & 50–950 ramp

primary
#657817
secondary
#533EAD
accent
#3DEB5F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #657817

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

Preview Lab → · Contrast checker → · Palette generator →

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