#827D2A#827D2A

#827D2A is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.8% C 0.104 H 105.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#827D2A
RGBrgb(130, 125, 42)
HSLhsl(57, 51%, 34%)
HSVhsv(57, 68%, 51%)
CMYKcmyk(0%, 3.8%, 67.7%, 49%)
CIE-LABlab(51.36, -8.86, 44.16)
CIE-LCHlch(51.36, 45.04, 101.35°)
OKLaboklab(57.76% -0.0283 0.0996)
OKLCHoklch(57.76% 0.104 105.9)
XYZxyz(16.9581, 19.5808, 5.0762)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#827D2A #2A2F82
analogous
#82512A #827D2A #5B822A
triadic
#827D2A #2A827D #7D2A82
tetradic
#827D2A #2A8251 #2A2F82 #822A5B
square
#827D2A #2A8251 #2A2F82 #822A5B
split-complementary
#827D2A #2A5B82 #512A82
monochromatic
#25240C #54511B #827D2A #B0A939 #CAC45C

Accessibility & contrast

On white

4.27
#827D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#827D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #827D2A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##827D2A#FFFFFF#000000##000000
##827D2A1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#88781F
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#8C756C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #827d2a;
/* rgb */ color: rgb(130, 125, 42);
/* oklch */ color: oklch(57.8% 0.104 105.9);
Tailwind
colors: {
  custom: {
    50: '#a9a268',
    500: '#827d2a',
    950: '#000000',
  },
}
SCSS
$custom: #827d2a;
$custom-light: #a9a268;
$custom-dark: #000000;
JSON
{
  "hex": "#827d2a",
  "rgb": {
    "r": 130,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 56.591,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57764,
    "c": 0.10354,
    "h": 105.9
  },
  "luminance": 0.1958
}

Semantic roles & 50–950 ramp

primary
#827D2A
secondary
#585DB0
accent
#55DB4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #827D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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