#827E20#827E20

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

Color values

HEX#827E20
RGBrgb(130, 126, 32)
HSLhsl(58, 60%, 32%)
HSVhsv(58, 75%, 51%)
CMYKcmyk(0%, 3.1%, 75.4%, 49%)
CIE-LABlab(51.58, -9.97, 48.45)
CIE-LCHlch(51.58, 49.47, 101.63°)
OKLaboklab(57.92% -0.0325 0.1068)
OKLCHoklch(57.92% 0.112 106.9)
XYZxyz(16.9282, 19.7724, 4.2910)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#827E20 #202482
analogous
#824D20 #827E20 #558220
triadic
#827E20 #20827E #7E2082
tetradic
#827E20 #20824D #202482 #822055
square
#827E20 #20824D #202482 #822055
split-complementary
#827E20 #205582 #4D2082
monochromatic
#201F08 #514E14 #827E20 #B3AE2C #D2CD4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##827E20#FFFFFF#000000##000000
##827E201.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)
#89790E
Deuteranopia (green-blind)
#8B7D27
Tritanopia (blue-blind)
#8C756C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #827e20;
/* rgb */ color: rgb(130, 126, 32);
/* oklch */ color: oklch(57.9% 0.112 106.9);
Tailwind
colors: {
  custom: {
    50: '#a9a363',
    500: '#827e20',
    950: '#000000',
  },
}
SCSS
$custom: #827e20;
$custom-light: #a9a363;
$custom-dark: #000000;
JSON
{
  "hex": "#827e20",
  "rgb": {
    "r": 130,
    "g": 126,
    "b": 32
  },
  "hsl": {
    "h": 57.551,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57916,
    "c": 0.11168,
    "h": 106.9
  },
  "luminance": 0.19772
}

Semantic roles & 50–950 ramp

primary
#827E20
secondary
#494EB5
accent
#4BE444
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #827E20

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

Preview Lab → · Contrast checker → · Palette generator →

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