#827A22#827A22

#827A22 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.0% C 0.106 H 104.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#827A22
RGBrgb(130, 122, 34)
HSLhsl(55, 59%, 32%)
HSVhsv(55, 74%, 51%)
CMYKcmyk(0%, 6.2%, 73.8%, 49%)
CIE-LABlab(50.43, -7.67, 46.58)
CIE-LCHlch(50.43, 47.20, 99.35°)
OKLaboklab(57.01% -0.0258 0.1032)
OKLCHoklch(57.01% 0.106 104.1)
XYZxyz(16.4549, 18.7810, 4.2714)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#827A22 #222A82
analogous
#824A22 #827A22 #5A8222
triadic
#827A22 #22827A #7A2282
tetradic
#827A22 #22824A #222A82 #82225A
square
#827A22 #22824A #222A82 #82225A
split-complementary
#827A22 #225A82 #4A2282
monochromatic
#211F09 #514C15 #827A22 #B3A82F #D1C64E

Accessibility & contrast

On white

4.42
#827A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#827A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #827A22
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##827A22#FFFFFF#000000##000000
##827A221.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#857613
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#8C7169
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #827a22;
/* rgb */ color: rgb(130, 122, 34);
/* oklch */ color: oklch(57.0% 0.106 104.1);
Tailwind
colors: {
  custom: {
    50: '#a9a064',
    500: '#827a22',
    950: '#000000',
  },
}
SCSS
$custom: #827a22;
$custom-light: #a9a064;
$custom-dark: #000000;
JSON
{
  "hex": "#827a22",
  "rgb": {
    "r": 130,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 55,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57005,
    "c": 0.10643,
    "h": 104.1
  },
  "luminance": 0.1878
}

Semantic roles & 50–950 ramp

primary
#827A22
secondary
#4C55B4
accent
#53E246
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #827A22

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

Preview Lab → · Contrast checker → · Palette generator →

#827A22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva