#656212#656212

#656212 is a mid, moderate yellow. Relative luminance 0.115; OKLCH L 48.4% C 0.096 H 107.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#656212
RGBrgb(101, 98, 18)
HSLhsl(58, 70%, 23%)
HSVhsv(58, 82%, 40%)
CMYKcmyk(0%, 3%, 82.2%, 60.4%)
CIE-LABlab(40.49, -8.66, 42.25)
CIE-LCHlch(40.49, 43.12, 101.59°)
OKLaboklab(48.4% -0.0286 0.092)
OKLCHoklch(48.4% 0.096 107.3)
XYZxyz(9.8441, 11.5461, 2.2822)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#656212 #121565
analogous
#653812 #656212 #3E6512
triadic
#656212 #126562 #621265
tetradic
#656212 #126538 #121565 #65123E
square
#656212 #126538 #121565 #65123E
split-complementary
#656212 #123E65 #381265
monochromatic
#1A1905 #313009 #656212 #99941B #CDC725

Accessibility & contrast

On white

6.35
#656212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#656212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #656212
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##656212#FFFFFF#000000##FFFFFF
##6562121.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#6D6119
Tritanopia (blue-blind)
#6D5B53
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #656212;
/* rgb */ color: rgb(101, 98, 18);
/* oklch */ color: oklch(48.4% 0.096 107.3);
Tailwind
colors: {
  custom: {
    50: '#948e58',
    500: '#656212',
    950: '#000000',
  },
}
SCSS
$custom: #656212;
$custom-light: #948e58;
$custom-dark: #000000;
JSON
{
  "hex": "#656212",
  "rgb": {
    "r": 101,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 57.831,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.48398,
    "c": 0.09636,
    "h": 107.3
  },
  "luminance": 0.11546
}

Semantic roles & 50–950 ramp

primary
#656212
secondary
#363A9D
accent
#42ED3B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #656212

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

Preview Lab → · Contrast checker → · Palette generator →

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