#827F22#827F22

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

Color values

HEX#827F22
RGBrgb(130, 127, 34)
HSLhsl(58, 59%, 32%)
HSVhsv(58, 74%, 51%)
CMYKcmyk(0%, 2.3%, 73.8%, 49%)
CIE-LABlab(51.88, -10.42, 47.99)
CIE-LCHlch(51.88, 49.11, 102.25°)
OKLaboklab(58.16% -0.0336 0.1062)
OKLCHoklch(58.16% 0.111 107.5)
XYZxyz(17.0847, 20.0406, 4.4813)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#827F22 #222582
analogous
#824F22 #827F22 #558222
triadic
#827F22 #22827F #7F2282
tetradic
#827F22 #22824F #222582 #822255
square
#827F22 #22824F #222582 #822255
split-complementary
#827F22 #225582 #4F2282
monochromatic
#212009 #515015 #827F22 #B3AE2F #D1CD4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##827F22#FFFFFF#000000##000000
##827F221.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)
#8A7A11
Deuteranopia (green-blind)
#8C7D29
Tritanopia (blue-blind)
#8C766D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #827f22;
/* rgb */ color: rgb(130, 127, 34);
/* oklch */ color: oklch(58.2% 0.111 107.5);
Tailwind
colors: {
  custom: {
    50: '#a9a364',
    500: '#827f22',
    950: '#000000',
  },
}
SCSS
$custom: #827f22;
$custom-light: #a9a364;
$custom-dark: #000000;
JSON
{
  "hex": "#827f22",
  "rgb": {
    "r": 130,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 58.125,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58162,
    "c": 0.1114,
    "h": 107.5
  },
  "luminance": 0.2004
}

Semantic roles & 50–950 ramp

primary
#827F22
secondary
#4C4FB4
accent
#4BE246
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #827F22

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

Preview Lab → · Contrast checker → · Palette generator →

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