#827A1B#827A1B

#827A1B is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.0% C 0.111 H 104.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#827A1B
RGBrgb(130, 122, 27)
HSLhsl(55, 66%, 31%)
HSVhsv(55, 79%, 51%)
CMYKcmyk(0%, 6.2%, 79.2%, 49%)
CIE-LABlab(50.39, -8.00, 49.14)
CIE-LCHlch(50.39, 49.79, 99.24°)
OKLaboklab(56.96% -0.0275 0.1073)
OKLCHoklch(56.96% 0.111 104.4)
XYZxyz(16.3640, 18.7447, 3.7928)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#827A1B #1B2382
analogous
#82461B #827A1B #56821B
triadic
#827A1B #1B827A #7A1B82
tetradic
#827A1B #1B8246 #1B2382 #821B56
square
#827A1B #1B8246 #1B2382 #821B56
split-complementary
#827A1B #1B5682 #461B82
monochromatic
#1D1B06 #4F4A10 #827A1B #B5AA26 #D7CC40

Accessibility & contrast

On white

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

On black

4.75
#827A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #827A1B
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##827A1B#FFFFFF#000000##000000
##827A1B1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#867604
Deuteranopia (green-blind)
#887A22
Tritanopia (blue-blind)
#8C7168
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #827a1b;
/* rgb */ color: rgb(130, 122, 27);
/* oklch */ color: oklch(57.0% 0.111 104.4);
Tailwind
colors: {
  custom: {
    50: '#aaa060',
    500: '#827a1b',
    950: '#000000',
  },
}
SCSS
$custom: #827a1b;
$custom-light: #aaa060;
$custom-dark: #000000;
JSON
{
  "hex": "#827a1b",
  "rgb": {
    "r": 130,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 55.34,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56957,
    "c": 0.11076,
    "h": 104.4
  },
  "luminance": 0.18744
}

Semantic roles & 50–950 ramp

primary
#827A1B
secondary
#434CB6
accent
#4CE93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #827A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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