#828C2D#828C2D

#828C2D is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.3% C 0.118 H 115.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#828C2D
RGBrgb(130, 140, 45)
HSLhsl(66, 51%, 36%)
HSVhsv(66, 68%, 55%)
CMYKcmyk(7.1%, 0%, 67.9%, 45.1%)
CIE-LABlab(55.78, -16.74, 47.43)
CIE-LCHlch(55.78, 50.30, 109.44°)
OKLaboklab(61.3% -0.0501 0.107)
OKLCHoklch(61.3% 0.118 115.1)
XYZxyz(19.0581, 23.6918, 6.0511)
Luminance0.2369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828C2D #372D8C
analogous
#8C672D #828C2D #538C2D
triadic
#828C2D #2D828C #8C2D82
tetradic
#828C2D #2D8C67 #372D8C #8C2D53
square
#828C2D #2D8C67 #372D8C #8C2D53
split-complementary
#828C2D #2D538C #672D8C
monochromatic
#2C2F0F #575E1E #828C2D #ADBA3C #C3CE66

Accessibility & contrast

On white

3.66
#828C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#828C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828C2D
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828C2D#FFFFFF#000000##000000
##828C2D1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968520
Deuteranopia (green-blind)
#958634
Tritanopia (blue-blind)
#8A8479
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #828c2d;
/* rgb */ color: rgb(130, 140, 45);
/* oklch */ color: oklch(61.3% 0.118 115.1);
Tailwind
colors: {
  custom: {
    50: '#a9ad6b',
    500: '#828c2d',
    950: '#000000',
  },
}
SCSS
$custom: #828c2d;
$custom-light: #a9ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#828c2d",
  "rgb": {
    "r": 130,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 66.316,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61302,
    "c": 0.11815,
    "h": 115.1
  },
  "luminance": 0.23691
}

Semantic roles & 50–950 ramp

primary
#828C2D
secondary
#6960B4
accent
#4DDB5C
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #828C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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