#656F1F#656F1F

#656F1F is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 51.7% C 0.103 H 116.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#656F1F
RGBrgb(101, 111, 31)
HSLhsl(68, 56%, 28%)
HSVhsv(68, 72%, 44%)
CMYKcmyk(9%, 0%, 72.1%, 56.5%)
CIE-LABlab(44.57, -15.22, 41.15)
CIE-LCHlch(44.57, 43.87, 110.30°)
OKLaboklab(51.69% -0.0455 0.0922)
OKLCHoklch(51.69% 0.103 116.3)
XYZxyz(11.2989, 14.2347, 3.4484)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#656F1F #291F6F
analogous
#6F511F #656F1F #3D6F1F
triadic
#656F1F #1F656F #6F1F65
tetradic
#656F1F #1F6F51 #291F6F #6F1F3D
square
#656F1F #1F6F51 #291F6F #6F1F3D
split-complementary
#656F1F #1F3D6F #511F6F
monochromatic
#161807 #393F12 #656F1F #919F2C #B8C93F

Accessibility & contrast

On white

5.46
#656F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#656F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #656F1F
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##656F1F#FFFFFF#000000##FFFFFF
##656F1F1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776912
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#6C685F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #656f1f;
/* rgb */ color: rgb(101, 111, 31);
/* oklch */ color: oklch(51.7% 0.103 116.3);
Tailwind
colors: {
  custom: {
    50: '#939860',
    500: '#656f1f',
    950: '#000000',
  },
}
SCSS
$custom: #656f1f;
$custom-light: #939860;
$custom-dark: #000000;
JSON
{
  "hex": "#656f1f",
  "rgb": {
    "r": 101,
    "g": 111,
    "b": 31
  },
  "hsl": {
    "h": 67.5,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51691,
    "c": 0.10286,
    "h": 116.3
  },
  "luminance": 0.14235
}

Semantic roles & 50–950 ramp

primary
#656F1F
secondary
#5247A3
accent
#48E05B
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #656F1F

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

Preview Lab → · Contrast checker → · Palette generator →

#656F1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva