#828126#828126

#828126 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.7% C 0.111 H 108.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#828126
RGBrgb(130, 129, 38)
HSLhsl(59, 55%, 33%)
HSVhsv(59, 71%, 51%)
CMYKcmyk(0%, 0.8%, 70.8%, 49%)
CIE-LABlab(52.49, -11.29, 47.00)
CIE-LCHlch(52.49, 48.34, 103.51°)
OKLaboklab(58.66% -0.0356 0.1049)
OKLCHoklch(58.66% 0.111 108.8)
XYZxyz(17.4066, 20.5868, 4.8901)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828126 #262782
analogous
#825326 #828126 #558226
triadic
#828126 #268281 #812682
tetradic
#828126 #268253 #262782 #822655
square
#828126 #268253 #262782 #822655
split-complementary
#828126 #265582 #532682
monochromatic
#23230A #535218 #828126 #B1B034 #CDCC55

Accessibility & contrast

On white

4.10
#828126 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#828126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828126
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828126#FFFFFF#000000##000000
##8281261.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C18
Deuteranopia (green-blind)
#8D7F2C
Tritanopia (blue-blind)
#8B796F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #828126;
/* rgb */ color: rgb(130, 129, 38);
/* oklch */ color: oklch(58.7% 0.111 108.8);
Tailwind
colors: {
  custom: {
    50: '#a9a566',
    500: '#828126',
    950: '#000000',
  },
}
SCSS
$custom: #828126;
$custom-light: #a9a566;
$custom-dark: #000000;
JSON
{
  "hex": "#828126",
  "rgb": {
    "r": 130,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 59.348,
    "s": 54.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58658,
    "c": 0.11077,
    "h": 108.8
  },
  "luminance": 0.20586
}

Semantic roles & 50–950 ramp

primary
#828126
secondary
#5253B2
accent
#4BDE4A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #828126

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

Preview Lab → · Contrast checker → · Palette generator →

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