#827F1A#827F1A

#827F1A is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.1% C 0.116 H 107.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#827F1A
RGBrgb(130, 127, 26)
HSLhsl(58, 67%, 31%)
HSVhsv(58, 80%, 51%)
CMYKcmyk(0%, 2.3%, 80%, 49%)
CIE-LABlab(51.84, -10.78, 50.79)
CIE-LCHlch(51.84, 51.92, 101.99°)
OKLaboklab(58.11% -0.0354 0.1106)
OKLCHoklch(58.11% 0.116 107.7)
XYZxyz(16.9824, 19.9997, 3.9429)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#827F1A #1A1D82
analogous
#824B1A #827F1A #51821A
triadic
#827F1A #1A827F #7F1A82
tetradic
#827F1A #1A824B #1A1D82 #821A51
square
#827F1A #1A824B #1A1D82 #821A51
split-complementary
#827F1A #1A5182 #4B1A82
monochromatic
#1C1B06 #4F4D10 #827F1A #B5B124 #D8D43E

Accessibility & contrast

On white

4.20
#827F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#827F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #827F1A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##827F1A#FFFFFF#000000##000000
##827F1A1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#8C766C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #827f1a;
/* rgb */ color: rgb(130, 127, 26);
/* oklch */ color: oklch(58.1% 0.116 107.7);
Tailwind
colors: {
  custom: {
    50: '#aaa360',
    500: '#827f1a',
    950: '#000000',
  },
}
SCSS
$custom: #827f1a;
$custom-light: #aaa360;
$custom-dark: #000000;
JSON
{
  "hex": "#827f1a",
  "rgb": {
    "r": 130,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 58.269,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.58111,
    "c": 0.11613,
    "h": 107.7
  },
  "luminance": 0.19999
}

Semantic roles & 50–950 ramp

primary
#827F1A
secondary
#4245B6
accent
#43EA3E
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #827F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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