#828B2D#828B2D

#828B2D is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.1% C 0.117 H 114.6°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#828B2D
RGBrgb(130, 139, 45)
HSLhsl(66, 51%, 36%)
HSVhsv(66, 68%, 55%)
CMYKcmyk(6.5%, 0%, 67.6%, 45.5%)
CIE-LABlab(55.48, -16.21, 47.13)
CIE-LCHlch(55.48, 49.84, 108.98°)
OKLaboklab(61.07% -0.0486 0.1064)
OKLCHoklch(61.07% 0.117 114.6)
XYZxyz(18.9127, 23.4009, 6.0026)
Luminance0.2340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828B2D #362D8B
analogous
#8B652D #828B2D #538B2D
triadic
#828B2D #2D828B #8B2D82
tetradic
#828B2D #2D8B65 #362D8B #8B2D53
square
#828B2D #2D8B65 #362D8B #8B2D53
split-complementary
#828B2D #2D538B #652D8B
monochromatic
#2C2F0F #575D1E #828B2D #ADB93C #C3CD65

Accessibility & contrast

On white

3.70
#828B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#828B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828B2D
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828B2D#FFFFFF#000000##000000
##828B2D1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958420
Deuteranopia (green-blind)
#948634
Tritanopia (blue-blind)
#8A8378
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #828b2d;
/* rgb */ color: rgb(130, 139, 45);
/* oklch */ color: oklch(61.1% 0.117 114.6);
Tailwind
colors: {
  custom: {
    50: '#a9ac6b',
    500: '#828b2d',
    950: '#000000',
  },
}
SCSS
$custom: #828b2d;
$custom-light: #a9ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#828b2d",
  "rgb": {
    "r": 130,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 65.745,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61065,
    "c": 0.11695,
    "h": 114.6
  },
  "luminance": 0.23401
}

Semantic roles & 50–950 ramp

primary
#828B2D
secondary
#6860B4
accent
#4DDB5B
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #828B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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