#828E2A#828E2A

#828E2A is a mid, vivid yellow. Relative luminance 0.243; OKLCH L 61.8% C 0.123 H 116.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#828E2A
RGBrgb(130, 142, 42)
HSLhsl(67, 54%, 36%)
HSVhsv(67, 70%, 56%)
CMYKcmyk(8.5%, 0%, 70.4%, 44.3%)
CIE-LABlab(56.35, -17.97, 49.24)
CIE-LCHlch(56.35, 52.42, 110.05°)
OKLaboklab(61.75% -0.0539 0.1103)
OKLCHoklch(61.75% 0.123 116)
XYZxyz(19.2973, 24.2593, 5.8560)
Luminance0.2426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828E2A #362A8E
analogous
#8E682A #828E2A #508E2A
triadic
#828E2A #2A828E #8E2A82
tetradic
#828E2A #2A8E68 #362A8E #8E2A50
square
#828E2A #2A8E68 #362A8E #8E2A50
split-complementary
#828E2A #2A508E #682A8E
monochromatic
#2C300E #575F1C #828E2A #ADBD38 #C3D162

Accessibility & contrast

On white

3.59
#828E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#828E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828E2A
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828E2A#FFFFFF#000000##000000
##828E2A1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871A
Deuteranopia (green-blind)
#978832
Tritanopia (blue-blind)
#8A867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #828e2a;
/* rgb */ color: rgb(130, 142, 42);
/* oklch */ color: oklch(61.8% 0.123 116.0);
Tailwind
colors: {
  custom: {
    50: '#a9af6a',
    500: '#828e2a',
    950: '#000000',
  },
}
SCSS
$custom: #828e2a;
$custom-light: #a9af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#828e2a",
  "rgb": {
    "r": 130,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 67.2,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61751,
    "c": 0.12276,
    "h": 116
  },
  "luminance": 0.24259
}

Semantic roles & 50–950 ramp

primary
#828E2A
secondary
#685DB6
accent
#4ADE5C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #828E2A

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

Preview Lab → · Contrast checker → · Palette generator →

#828E2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva