#656A12#656A12

#656A12 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.4% C 0.105 H 113.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#656A12
RGBrgb(101, 106, 18)
HSLhsl(63, 71%, 24%)
HSVhsv(63, 83%, 42%)
CMYKcmyk(4.7%, 0%, 83%, 58.4%)
CIE-LABlab(42.94, -13.16, 44.44)
CIE-LCHlch(42.94, 46.35, 106.49°)
OKLaboklab(50.36% -0.0411 0.0967)
OKLCHoklch(50.36% 0.105 113)
XYZxyz(10.6304, 13.1187, 2.5443)
Luminance0.1312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#656A12 #17126A
analogous
#6A4312 #656A12 #396A12
triadic
#656A12 #12656A #6A1265
tetradic
#656A12 #126A43 #17126A #6A1239
square
#656A12 #126A43 #17126A #6A1239
split-complementary
#656A12 #12396A #43126A
monochromatic
#191A04 #333609 #656A12 #979E1B #C9D324

Accessibility & contrast

On white

5.80
#656A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#656A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #656A12
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##656A12#FFFFFF#000000##FFFFFF
##656A121.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#73661A
Tritanopia (blue-blind)
#6C635A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #656a12;
/* rgb */ color: rgb(101, 106, 18);
/* oklch */ color: oklch(50.4% 0.105 113.0);
Tailwind
colors: {
  custom: {
    50: '#949459',
    500: '#656a12',
    950: '#000000',
  },
}
SCSS
$custom: #656a12;
$custom-light: #949459;
$custom-dark: #000000;
JSON
{
  "hex": "#656a12",
  "rgb": {
    "r": 101,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 63.409,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.50361,
    "c": 0.10508,
    "h": 113
  },
  "luminance": 0.13118
}

Semantic roles & 50–950 ramp

primary
#656A12
secondary
#3C36A2
accent
#3AEE44
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #656A12

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

Preview Lab → · Contrast checker → · Palette generator →

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