#656B1F#656B1F

#656B1F is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.7% C 0.098 H 113.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#656B1F
RGBrgb(101, 107, 31)
HSLhsl(65, 55%, 27%)
HSVhsv(65, 71%, 42%)
CMYKcmyk(5.6%, 0%, 71%, 58%)
CIE-LABlab(43.33, -13.03, 39.90)
CIE-LCHlch(43.33, 41.97, 108.08°)
OKLaboklab(50.7% -0.0394 0.0896)
OKLCHoklch(50.7% 0.098 113.8)
XYZxyz(10.8721, 13.3812, 3.3062)
Luminance0.1338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#656B1F #251F6B
analogous
#6B4B1F #656B1F #3F6B1F
triadic
#656B1F #1F656B #6B1F65
tetradic
#656B1F #1F6B4B #251F6B #6B1F3F
square
#656B1F #1F6B4B #251F6B #6B1F3F
split-complementary
#656B1F #1F3F6B #4B1F6B
monochromatic
#161807 #383C11 #656B1F #929A2D #BCC73D

Accessibility & contrast

On white

5.71
#656B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#656B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #656B1F
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##656B1F#FFFFFF#000000##FFFFFF
##656B1F1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736614
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#6C645C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #656b1f;
/* rgb */ color: rgb(101, 107, 31);
/* oklch */ color: oklch(50.7% 0.098 113.8);
Tailwind
colors: {
  custom: {
    50: '#939560',
    500: '#656b1f',
    950: '#000000',
  },
}
SCSS
$custom: #656b1f;
$custom-light: #939560;
$custom-dark: #000000;
JSON
{
  "hex": "#656b1f",
  "rgb": {
    "r": 101,
    "g": 107,
    "b": 31
  },
  "hsl": {
    "h": 64.737,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.507,
    "c": 0.0979,
    "h": 113.8
  },
  "luminance": 0.13381
}

Semantic roles & 50–950 ramp

primary
#656B1F
secondary
#4E479F
accent
#49DE55
background
#F9F9F5
surface
#F2F1EA
border
#CCCBC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #656B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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