#827E1F#827E1F

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

Color values

HEX#827E1F
RGBrgb(130, 126, 31)
HSLhsl(58, 61%, 32%)
HSVhsv(58, 76%, 51%)
CMYKcmyk(0%, 3.1%, 76.2%, 49%)
CIE-LABlab(51.57, -10.02, 48.82)
CIE-LCHlch(51.57, 49.84, 101.60°)
OKLaboklab(57.91% -0.0328 0.1074)
OKLCHoklch(57.91% 0.112 107)
XYZxyz(16.9148, 19.7671, 4.2205)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#827E1F #1F2382
analogous
#824D1F #827E1F #55821F
triadic
#827E1F #1F827E #7E1F82
tetradic
#827E1F #1F824D #1F2382 #821F55
square
#827E1F #1F824D #1F2382 #821F55
split-complementary
#827E1F #1F5582 #4D1F82
monochromatic
#1F1E07 #514E13 #827E1F #B3AE2B #D3CE48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##827E1F#FFFFFF#000000##000000
##827E1F1.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)
#89790B
Deuteranopia (green-blind)
#8B7D26
Tritanopia (blue-blind)
#8C756C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #827e1f;
/* rgb */ color: rgb(130, 126, 31);
/* oklch */ color: oklch(57.9% 0.112 107.0);
Tailwind
colors: {
  custom: {
    50: '#a9a363',
    500: '#827e1f',
    950: '#000000',
  },
}
SCSS
$custom: #827e1f;
$custom-light: #a9a363;
$custom-dark: #000000;
JSON
{
  "hex": "#827e1f",
  "rgb": {
    "r": 130,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 57.576,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57909,
    "c": 0.11229,
    "h": 107
  },
  "luminance": 0.19766
}

Semantic roles & 50–950 ramp

primary
#827E1F
secondary
#484CB5
accent
#4AE543
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #827E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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