#827F20#827F20

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

Color values

HEX#827F20
RGBrgb(130, 127, 32)
HSLhsl(58, 60%, 32%)
HSVhsv(58, 75%, 51%)
CMYKcmyk(0%, 2.3%, 75.4%, 49%)
CIE-LABlab(51.87, -10.52, 48.73)
CIE-LCHlch(51.87, 49.85, 102.18°)
OKLaboklab(58.15% -0.0341 0.1074)
OKLCHoklch(58.15% 0.113 107.6)
XYZxyz(17.0567, 20.0294, 4.3338)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#827F20 #202382
analogous
#824E20 #827F20 #548220
triadic
#827F20 #20827F #7F2082
tetradic
#827F20 #20824E #202382 #822054
square
#827F20 #20824E #202382 #822054
split-complementary
#827F20 #205482 #4E2082
monochromatic
#201F08 #514F14 #827F20 #B3AF2C #D2CE4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##827F20#FFFFFF#000000##000000
##827F201.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #827f20;
/* rgb */ color: rgb(130, 127, 32);
/* oklch */ color: oklch(58.1% 0.113 107.6);
Tailwind
colors: {
  custom: {
    50: '#a9a363',
    500: '#827f20',
    950: '#000000',
  },
}
SCSS
$custom: #827f20;
$custom-light: #a9a363;
$custom-dark: #000000;
JSON
{
  "hex": "#827f20",
  "rgb": {
    "r": 130,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 58.163,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58148,
    "c": 0.11268,
    "h": 107.6
  },
  "luminance": 0.20029
}

Semantic roles & 50–950 ramp

primary
#827F20
secondary
#494CB5
accent
#49E444
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #827F20

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

Preview Lab → · Contrast checker → · Palette generator →

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