#828D2E#828D2E

#828D2E is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.5% C 0.119 H 115.6°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#828D2E
RGBrgb(130, 141, 46)
HSLhsl(67, 51%, 37%)
HSVhsv(67, 67%, 55%)
CMYKcmyk(7.8%, 0%, 67.4%, 44.7%)
CIE-LABlab(56.08, -17.19, 47.32)
CIE-LCHlch(56.08, 50.35, 109.97°)
OKLaboklab(61.55% -0.0513 0.1069)
OKLCHoklch(61.55% 0.119 115.6)
XYZxyz(19.2244, 23.9931, 6.2026)
Luminance0.2399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828D2E #392E8D
analogous
#8D692E #828D2E #538D2E
triadic
#828D2E #2E828D #8D2E82
tetradic
#828D2E #2E8D69 #392E8D #8D2E53
square
#828D2E #2E8D69 #392E8D #8D2E53
split-complementary
#828D2E #2E538D #692E8D
monochromatic
#2D3110 #575F1F #828D2E #ADBB3D #C2CE68

Accessibility & contrast

On white

3.62
#828D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#828D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828D2E
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828D2E#FFFFFF#000000##000000
##828D2E1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978621
Deuteranopia (green-blind)
#968735
Tritanopia (blue-blind)
#8A857A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #828d2e;
/* rgb */ color: rgb(130, 141, 46);
/* oklch */ color: oklch(61.5% 0.119 115.6);
Tailwind
colors: {
  custom: {
    50: '#a9ae6c',
    500: '#828d2e',
    950: '#000000',
  },
}
SCSS
$custom: #828d2e;
$custom-light: #a9ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#828d2e",
  "rgb": {
    "r": 130,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 66.947,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61547,
    "c": 0.1186,
    "h": 115.6
  },
  "luminance": 0.23993
}

Semantic roles & 50–950 ramp

primary
#828D2E
secondary
#6C62B5
accent
#4EDA5E
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #828D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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