#827C1B#827C1B

#827C1B is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.4% C 0.113 H 105.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#827C1B
RGBrgb(130, 124, 27)
HSLhsl(57, 66%, 31%)
HSVhsv(57, 79%, 51%)
CMYKcmyk(0%, 4.6%, 79.2%, 49%)
CIE-LABlab(50.97, -9.10, 49.67)
CIE-LCHlch(50.97, 50.50, 100.38°)
OKLaboklab(57.42% -0.0306 0.1084)
OKLCHoklch(57.42% 0.113 105.8)
XYZxyz(16.6121, 19.2409, 3.8755)
Luminance0.1924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#827C1B #1B2182
analogous
#82481B #827C1B #54821B
triadic
#827C1B #1B827C #7C1B82
tetradic
#827C1B #1B8248 #1B2182 #821B54
square
#827C1B #1B8248 #1B2182 #821B54
split-complementary
#827C1B #1B5482 #481B82
monochromatic
#1D1B06 #4F4C10 #827C1B #B5AC26 #D7CF40

Accessibility & contrast

On white

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

On black

4.85
#827C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #827C1B
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##827C1B#FFFFFF#000000##000000
##827C1B1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#877703
Deuteranopia (green-blind)
#8A7B23
Tritanopia (blue-blind)
#8C736A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #827c1b;
/* rgb */ color: rgb(130, 124, 27);
/* oklch */ color: oklch(57.4% 0.113 105.8);
Tailwind
colors: {
  custom: {
    50: '#aaa160',
    500: '#827c1b',
    950: '#000000',
  },
}
SCSS
$custom: #827c1b;
$custom-light: #aaa160;
$custom-dark: #000000;
JSON
{
  "hex": "#827c1b",
  "rgb": {
    "r": 130,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 56.505,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57419,
    "c": 0.11265,
    "h": 105.8
  },
  "luminance": 0.1924
}

Semantic roles & 50–950 ramp

primary
#827C1B
secondary
#434AB6
accent
#49E93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #827C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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