#827D1F#827D1F

#827D1F is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.7% C 0.111 H 106.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#827D1F
RGBrgb(130, 125, 31)
HSLhsl(57, 61%, 32%)
HSVhsv(57, 76%, 51%)
CMYKcmyk(0%, 3.8%, 76.2%, 49%)
CIE-LABlab(51.28, -9.47, 48.54)
CIE-LCHlch(51.28, 49.46, 101.04°)
OKLaboklab(57.68% -0.0312 0.1068)
OKLCHoklch(57.68% 0.111 106.3)
XYZxyz(16.7875, 19.5126, 4.1781)
Luminance0.1951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#827D1F #1F2482
analogous
#824C1F #827D1F #56821F
triadic
#827D1F #1F827D #7D1F82
tetradic
#827D1F #1F824C #1F2482 #821F56
square
#827D1F #1F824C #1F2482 #821F56
split-complementary
#827D1F #1F5682 #4C1F82
monochromatic
#1F1E07 #514D13 #827D1F #B3AD2B #D3CC48

Accessibility & contrast

On white

4.28
#827D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#827D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #827D1F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##827D1F#FFFFFF#000000##000000
##827D1F1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780C
Deuteranopia (green-blind)
#8A7C26
Tritanopia (blue-blind)
#8C746B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #827d1f;
/* rgb */ color: rgb(130, 125, 31);
/* oklch */ color: oklch(57.7% 0.111 106.3);
Tailwind
colors: {
  custom: {
    50: '#a9a262',
    500: '#827d1f',
    950: '#000000',
  },
}
SCSS
$custom: #827d1f;
$custom-light: #a9a262;
$custom-dark: #000000;
JSON
{
  "hex": "#827d1f",
  "rgb": {
    "r": 130,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 56.97,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57677,
    "c": 0.11129,
    "h": 106.3
  },
  "luminance": 0.19512
}

Semantic roles & 50–950 ramp

primary
#827D1F
secondary
#484DB5
accent
#4BE543
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A

Preview Lab

Preview with #827D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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