#657417#657417

#657417 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 52.9% C 0.114 H 118.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#657417
RGBrgb(101, 116, 23)
HSLhsl(70, 67%, 27%)
HSVhsv(70, 80%, 45%)
CMYKcmyk(12.9%, 0%, 80.2%, 54.5%)
CIE-LABlab(46.07, -18.34, 45.63)
CIE-LCHlch(46.07, 49.18, 111.89°)
OKLaboklab(52.88% -0.0549 0.1002)
OKLCHoklch(52.88% 0.114 118.7)
XYZxyz(11.7671, 15.3194, 3.1475)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#657417 #261774
analogous
#745417 #657417 #377417
triadic
#657417 #176574 #741765
tetradic
#657417 #177454 #261774 #741737
square
#657417 #177454 #261774 #741737
split-complementary
#657417 #173774 #541774
monochromatic
#161A05 #39410D #657417 #91A721 #BBD630

Accessibility & contrast

On white

5.17
#657417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#657417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #657417
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##657417#FFFFFF#000000##FFFFFF
##6574171.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#6B6D63
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #657417;
/* rgb */ color: rgb(101, 116, 23);
/* oklch */ color: oklch(52.9% 0.114 118.7);
Tailwind
colors: {
  custom: {
    50: '#949c5d',
    500: '#657417',
    950: '#000000',
  },
}
SCSS
$custom: #657417;
$custom-light: #949c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#657417",
  "rgb": {
    "r": 101,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 69.677,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.52882,
    "c": 0.11428,
    "h": 118.7
  },
  "luminance": 0.15319
}

Semantic roles & 50–950 ramp

primary
#657417
secondary
#4F3DA9
accent
#3EEA5A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #657417

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

Preview Lab → · Contrast checker → · Palette generator →

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