#828718#828718

#828718 is a mid, vivid yellow. Relative luminance 0.221; OKLCH L 60.0% C 0.125 H 112.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#828718
RGBrgb(130, 135, 24)
HSLhsl(63, 70%, 31%)
HSVhsv(63, 82%, 53%)
CMYKcmyk(3.7%, 0%, 82.2%, 47.1%)
CIE-LABlab(54.18, -15.16, 53.48)
CIE-LCHlch(54.18, 55.59, 105.83°)
OKLaboklab(59.98% -0.0477 0.116)
OKLCHoklch(59.98% 0.125 112.4)
XYZxyz(18.0354, 22.1402, 4.1874)
Luminance0.2214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828718 #1D1887
analogous
#875418 #828718 #4A8718
triadic
#828718 #188287 #871882
tetradic
#828718 #188754 #1D1887 #87184A
square
#828718 #188754 #1D1887 #87184A
split-complementary
#828718 #184A87 #541887
monochromatic
#1E1F06 #50530F #828718 #B4BB21 #D5DC3D

Accessibility & contrast

On white

3.87
#828718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#828718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828718
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828718#FFFFFF#000000##000000
##8287181.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#928323
Tritanopia (blue-blind)
#8B7E73
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #828718;
/* rgb */ color: rgb(130, 135, 24);
/* oklch */ color: oklch(60.0% 0.125 112.4);
Tailwind
colors: {
  custom: {
    50: '#aaa961',
    500: '#828718',
    950: '#000000',
  },
}
SCSS
$custom: #828718;
$custom-light: #aaa961;
$custom-dark: #000000;
JSON
{
  "hex": "#828718",
  "rgb": {
    "r": 130,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 62.703,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.59977,
    "c": 0.12542,
    "h": 112.4
  },
  "luminance": 0.2214
}

Semantic roles & 50–950 ramp

primary
#828718
secondary
#4640BB
accent
#3BED43
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #828718

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

Preview Lab → · Contrast checker → · Palette generator →

#828718 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva