#827F21#827F21

#827F21 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.2% C 0.112 H 107.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#827F21
RGBrgb(130, 127, 33)
HSLhsl(58, 60%, 32%)
HSVhsv(58, 75%, 51%)
CMYKcmyk(0%, 2.3%, 74.6%, 49%)
CIE-LABlab(51.88, -10.47, 48.36)
CIE-LCHlch(51.88, 49.48, 102.22°)
OKLaboklab(58.16% -0.0338 0.1068)
OKLCHoklch(58.16% 0.112 107.6)
XYZxyz(17.0705, 20.0350, 4.4065)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#827F21 #212482
analogous
#824F21 #827F21 #558221
triadic
#827F21 #21827F #7F2182
tetradic
#827F21 #21824F #212482 #822155
square
#827F21 #21824F #212482 #822155
split-complementary
#827F21 #215582 #4F2182
monochromatic
#202008 #514F15 #827F21 #B3AF2D #D2CD4C

Accessibility & contrast

On white

4.19
#827F21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#827F21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #827F21
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##827F21#FFFFFF#000000##000000
##827F211.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0F
Deuteranopia (green-blind)
#8C7D28
Tritanopia (blue-blind)
#8C766D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #827f21;
/* rgb */ color: rgb(130, 127, 33);
/* oklch */ color: oklch(58.2% 0.112 107.6);
Tailwind
colors: {
  custom: {
    50: '#a9a364',
    500: '#827f21',
    950: '#000000',
  },
}
SCSS
$custom: #827f21;
$custom-light: #a9a364;
$custom-dark: #000000;
JSON
{
  "hex": "#827f21",
  "rgb": {
    "r": 130,
    "g": 127,
    "b": 33
  },
  "hsl": {
    "h": 58.144,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58155,
    "c": 0.11206,
    "h": 107.6
  },
  "luminance": 0.20034
}

Semantic roles & 50–950 ramp

primary
#827F21
secondary
#4A4EB4
accent
#4AE345
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #827F21

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

Preview Lab → · Contrast checker → · Palette generator →

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