#827E1B#827E1B

#827E1B is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.9% C 0.115 H 107.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#827E1B
RGBrgb(130, 126, 27)
HSLhsl(58, 66%, 31%)
HSVhsv(58, 79%, 51%)
CMYKcmyk(0%, 3.1%, 79.2%, 49%)
CIE-LABlab(51.55, -10.20, 50.20)
CIE-LCHlch(51.55, 51.23, 101.48°)
OKLaboklab(57.88% -0.0336 0.1096)
OKLCHoklch(57.88% 0.115 107.1)
XYZxyz(16.8653, 19.7473, 3.9599)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#827E1B #1B1F82
analogous
#824A1B #827E1B #52821B
triadic
#827E1B #1B827E #7E1B82
tetradic
#827E1B #1B824A #1B1F82 #821B52
square
#827E1B #1B824A #1B1F82 #821B52
split-complementary
#827E1B #1B5282 #4A1B82
monochromatic
#1D1C06 #4F4D10 #827E1B #B5AF26 #D7D140

Accessibility & contrast

On white

4.24
#827E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#827E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #827E1B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##827E1B#FFFFFF#000000##000000
##827E1B1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897902
Deuteranopia (green-blind)
#8B7D23
Tritanopia (blue-blind)
#8C756C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #827e1b;
/* rgb */ color: rgb(130, 126, 27);
/* oklch */ color: oklch(57.9% 0.115 107.1);
Tailwind
colors: {
  custom: {
    50: '#aaa361',
    500: '#827e1b',
    950: '#000000',
  },
}
SCSS
$custom: #827e1b;
$custom-light: #aaa361;
$custom-dark: #000000;
JSON
{
  "hex": "#827e1b",
  "rgb": {
    "r": 130,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 57.67,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57884,
    "c": 0.1146,
    "h": 107.1
  },
  "luminance": 0.19747
}

Semantic roles & 50–950 ramp

primary
#827E1B
secondary
#4348B6
accent
#46E93F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A

Preview Lab

Preview with #827E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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