#827C22#827C22

#827C22 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.5% C 0.108 H 105.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#827C22
RGBrgb(130, 124, 34)
HSLhsl(56, 59%, 32%)
HSVhsv(56, 74%, 51%)
CMYKcmyk(0%, 4.6%, 73.8%, 49%)
CIE-LABlab(51.01, -8.77, 47.14)
CIE-LCHlch(51.01, 47.95, 100.54°)
OKLaboklab(57.47% -0.029 0.1044)
OKLCHoklch(57.47% 0.108 105.5)
XYZxyz(16.7030, 19.2772, 4.3541)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#827C22 #222882
analogous
#824C22 #827C22 #588222
triadic
#827C22 #22827C #7C2282
tetradic
#827C22 #22824C #222882 #822258
square
#827C22 #22824C #222882 #822258
split-complementary
#827C22 #225882 #4C2282
monochromatic
#211F09 #514E15 #827C22 #B3AA2F #D1C84E

Accessibility & contrast

On white

4.33
#827C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#827C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #827C22
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##827C22#FFFFFF#000000##000000
##827C221.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#877712
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#8C736A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #827c22;
/* rgb */ color: rgb(130, 124, 34);
/* oklch */ color: oklch(57.5% 0.108 105.5);
Tailwind
colors: {
  custom: {
    50: '#a9a164',
    500: '#827c22',
    950: '#000000',
  },
}
SCSS
$custom: #827c22;
$custom-light: #a9a164;
$custom-dark: #000000;
JSON
{
  "hex": "#827c22",
  "rgb": {
    "r": 130,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 56.25,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57466,
    "c": 0.10838,
    "h": 105.5
  },
  "luminance": 0.19277
}

Semantic roles & 50–950 ramp

primary
#827C22
secondary
#4C52B4
accent
#50E246
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #827C22

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

Preview Lab → · Contrast checker → · Palette generator →

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