#827F1D#827F1D

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

Color values

HEX#827F1D
RGBrgb(130, 127, 29)
HSLhsl(58, 64%, 31%)
HSVhsv(58, 78%, 51%)
CMYKcmyk(0%, 2.3%, 77.7%, 49%)
CIE-LABlab(51.85, -10.66, 49.80)
CIE-LCHlch(51.85, 50.92, 102.08°)
OKLaboklab(58.13% -0.0348 0.1091)
OKLCHoklch(58.13% 0.114 107.7)
XYZxyz(17.0177, 20.0139, 4.1288)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#827F1D #1D2082
analogous
#824C1D #827F1D #52821D
triadic
#827F1D #1D827F #7F1D82
tetradic
#827F1D #1D824C #1D2082 #821D52
square
#827F1D #1D824C #1D2082 #821D52
split-complementary
#827F1D #1D5282 #4C1D82
monochromatic
#1E1D07 #504E12 #827F1D #B4B028 #D5D144

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##827F1D#FFFFFF#000000##000000
##827F1D1.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)
#8A7A06
Deuteranopia (green-blind)
#8C7D25
Tritanopia (blue-blind)
#8C766D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #827f1d;
/* rgb */ color: rgb(130, 127, 29);
/* oklch */ color: oklch(58.1% 0.114 107.7);
Tailwind
colors: {
  custom: {
    50: '#aaa362',
    500: '#827f1d',
    950: '#000000',
  },
}
SCSS
$custom: #827f1d;
$custom-light: #aaa362;
$custom-dark: #000000;
JSON
{
  "hex": "#827f1d",
  "rgb": {
    "r": 130,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 58.218,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58128,
    "c": 0.11448,
    "h": 107.7
  },
  "luminance": 0.20013
}

Semantic roles & 50–950 ramp

primary
#827F1D
secondary
#4649B5
accent
#46E741
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #827F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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