#827F1B#827F1B

#827F1B 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#827F1B
RGBrgb(130, 127, 27)
HSLhsl(58, 66%, 31%)
HSVhsv(58, 79%, 51%)
CMYKcmyk(0%, 2.3%, 79.2%, 49%)
CIE-LABlab(51.84, -10.74, 50.47)
CIE-LCHlch(51.84, 51.60, 102.02°)
OKLaboklab(58.12% -0.0352 0.1101)
OKLCHoklch(58.12% 0.116 107.7)
XYZxyz(16.9938, 20.0043, 4.0027)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#827F1B #1B1E82
analogous
#824B1B #827F1B #51821B
triadic
#827F1B #1B827F #7F1B82
tetradic
#827F1B #1B824B #1B1E82 #821B51
square
#827F1B #1B824B #1B1E82 #821B51
split-complementary
#827F1B #1B5182 #4B1B82
monochromatic
#1D1C06 #4F4D10 #827F1B #B5B126 #D7D340

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##827F1B#FFFFFF#000000##000000
##827F1B1.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)
#8A7A01
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#8C766C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #827f1b;
/* rgb */ color: rgb(130, 127, 27);
/* oklch */ color: oklch(58.1% 0.116 107.7);
Tailwind
colors: {
  custom: {
    50: '#aaa361',
    500: '#827f1b',
    950: '#000000',
  },
}
SCSS
$custom: #827f1b;
$custom-light: #aaa361;
$custom-dark: #000000;
JSON
{
  "hex": "#827f1b",
  "rgb": {
    "r": 130,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 58.252,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58116,
    "c": 0.1156,
    "h": 107.7
  },
  "luminance": 0.20004
}

Semantic roles & 50–950 ramp

primary
#827F1B
secondary
#4347B6
accent
#44E93F
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #827F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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