#827C1F#827C1F

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

Color values

HEX#827C1F
RGBrgb(130, 124, 31)
HSLhsl(56, 61%, 32%)
HSVhsv(56, 76%, 51%)
CMYKcmyk(0%, 4.6%, 76.2%, 49%)
CIE-LABlab(50.99, -8.92, 48.27)
CIE-LCHlch(50.99, 49.09, 100.47°)
OKLaboklab(57.45% -0.0297 0.1062)
OKLCHoklch(57.45% 0.11 105.6)
XYZxyz(16.6616, 19.2607, 4.1361)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#827C1F #1F2582
analogous
#824B1F #827C1F #57821F
triadic
#827C1F #1F827C #7C1F82
tetradic
#827C1F #1F824B #1F2582 #821F57
square
#827C1F #1F824B #1F2582 #821F57
split-complementary
#827C1F #1F5782 #4B1F82
monochromatic
#1F1E07 #514D13 #827C1F #B3AB2B #D3CB48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##827C1F#FFFFFF#000000##000000
##827C1F1.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)
#87770D
Deuteranopia (green-blind)
#8A7B26
Tritanopia (blue-blind)
#8C736A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #827c1f;
/* rgb */ color: rgb(130, 124, 31);
/* oklch */ color: oklch(57.4% 0.110 105.6);
Tailwind
colors: {
  custom: {
    50: '#aaa162',
    500: '#827c1f',
    950: '#000000',
  },
}
SCSS
$custom: #827c1f;
$custom-light: #aaa162;
$custom-dark: #000000;
JSON
{
  "hex": "#827c1f",
  "rgb": {
    "r": 130,
    "g": 124,
    "b": 31
  },
  "hsl": {
    "h": 56.364,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57445,
    "c": 0.11031,
    "h": 105.6
  },
  "luminance": 0.1926
}

Semantic roles & 50–950 ramp

primary
#827C1F
secondary
#484FB5
accent
#4DE543
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #827C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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