#826D22#826D22

#826D22 is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 54.1% C 0.096 H 93.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#826D22
RGBrgb(130, 109, 34)
HSLhsl(47, 59%, 32%)
HSVhsv(47, 74%, 51%)
CMYKcmyk(0%, 16.2%, 73.8%, 49%)
CIE-LABlab(46.71, -0.32, 42.91)
CIE-LCHlch(46.71, 42.91, 90.42°)
OKLaboklab(54.06% -0.005 0.0955)
OKLCHoklch(54.06% 0.096 93)
XYZxyz(14.9641, 15.7995, 3.7745)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#826D22 #223782
analogous
#823D22 #826D22 #678222
triadic
#826D22 #22826D #6D2282
tetradic
#826D22 #22823D #223782 #822267
square
#826D22 #22823D #223782 #822267
split-complementary
#826D22 #226782 #3D2282
monochromatic
#211C09 #514415 #826D22 #B3962F #D1B44E

Accessibility & contrast

On white

5.05
#826D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#826D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #826D22
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##826D22#FFFFFF#000000##FFFFFF
##826D221.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B17
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#8D645E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #826d22;
/* rgb */ color: rgb(130, 109, 34);
/* oklch */ color: oklch(54.1% 0.096 93.0);
Tailwind
colors: {
  custom: {
    50: '#aa9662',
    500: '#826d22',
    950: '#000000',
  },
}
SCSS
$custom: #826d22;
$custom-light: #aa9662;
$custom-dark: #000000;
JSON
{
  "hex": "#826d22",
  "rgb": {
    "r": 130,
    "g": 109,
    "b": 34
  },
  "hsl": {
    "h": 46.875,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54056,
    "c": 0.09561,
    "h": 93
  },
  "luminance": 0.15799
}

Semantic roles & 50–950 ramp

primary
#826D22
secondary
#4C63B4
accent
#68E246
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#100D05
muted
#7F7E7A

Preview Lab

Preview with #826D22

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

Preview Lab → · Contrast checker → · Palette generator →

#826D22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva