#656812#656812

#656812 is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 49.9% C 0.103 H 111.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#656812
RGBrgb(101, 104, 18)
HSLhsl(62, 70%, 24%)
HSVhsv(62, 83%, 41%)
CMYKcmyk(2.9%, 0%, 82.7%, 59.2%)
CIE-LABlab(42.33, -12.05, 43.90)
CIE-LCHlch(42.33, 45.52, 105.35°)
OKLaboklab(49.87% -0.038 0.0956)
OKLCHoklch(49.87% 0.103 111.7)
XYZxyz(10.4267, 12.7113, 2.4764)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#656812 #151268
analogous
#684012 #656812 #3A6812
triadic
#656812 #126568 #681265
tetradic
#656812 #126840 #151268 #68123A
square
#656812 #126840 #151268 #68123A
split-complementary
#656812 #123A68 #401268
monochromatic
#191A05 #323409 #656812 #989C1B #CAD024

Accessibility & contrast

On white

5.93
#656812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#656812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #656812
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##656812#FFFFFF#000000##FFFFFF
##6568121.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#71651A
Tritanopia (blue-blind)
#6D6158
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #656812;
/* rgb */ color: rgb(101, 104, 18);
/* oklch */ color: oklch(49.9% 0.103 111.7);
Tailwind
colors: {
  custom: {
    50: '#949259',
    500: '#656812',
    950: '#000000',
  },
}
SCSS
$custom: #656812;
$custom-light: #949259;
$custom-dark: #000000;
JSON
{
  "hex": "#656812",
  "rgb": {
    "r": 101,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 62.093,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.49867,
    "c": 0.10283,
    "h": 111.7
  },
  "luminance": 0.12711
}

Semantic roles & 50–950 ramp

primary
#656812
secondary
#3A36A0
accent
#3BED41
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #656812

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

Preview Lab → · Contrast checker → · Palette generator →

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