#657217#657217

#657217 is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 52.4% C 0.112 H 117.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#657217
RGBrgb(101, 114, 23)
HSLhsl(69, 66%, 27%)
HSVhsv(69, 80%, 45%)
CMYKcmyk(11.4%, 0%, 79.8%, 55.3%)
CIE-LABlab(45.45, -17.28, 45.06)
CIE-LCHlch(45.45, 48.26, 110.98°)
OKLaboklab(52.38% -0.052 0.099)
OKLCHoklch(52.38% 0.112 117.7)
XYZxyz(11.5391, 14.8633, 3.0715)
Luminance0.1486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#657217 #241772
analogous
#725217 #657217 #387217
triadic
#657217 #176572 #721765
tetradic
#657217 #177252 #241772 #721738
square
#657217 #177252 #241772 #721738
split-complementary
#657217 #173872 #521772
monochromatic
#171905 #383F0D #657217 #92A521 #BDD52E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##657217#FFFFFF#000000##FFFFFF
##6572171.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)
#7A6B01
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#6C6B61
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #657217;
/* rgb */ color: rgb(101, 114, 23);
/* oklch */ color: oklch(52.4% 0.112 117.7);
Tailwind
colors: {
  custom: {
    50: '#949a5c',
    500: '#657217',
    950: '#000000',
  },
}
SCSS
$custom: #657217;
$custom-light: #949a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#657217",
  "rgb": {
    "r": 101,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 68.571,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.52381,
    "c": 0.11184,
    "h": 117.7
  },
  "luminance": 0.14863
}

Semantic roles & 50–950 ramp

primary
#657217
secondary
#4C3DA8
accent
#3EE957
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #657217

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

Preview Lab → · Contrast checker → · Palette generator →

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