#828D2B#828D2B

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

Color values

HEX#828D2B
RGBrgb(130, 141, 43)
HSLhsl(67, 53%, 36%)
HSVhsv(67, 70%, 55%)
CMYKcmyk(7.8%, 0%, 69.5%, 44.7%)
CIE-LABlab(56.06, -17.39, 48.55)
CIE-LCHlch(56.06, 51.57, 109.70°)
OKLaboklab(61.52% -0.0521 0.109)
OKLCHoklch(61.52% 0.121 115.6)
XYZxyz(19.1673, 23.9703, 5.9020)
Luminance0.2397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828D2B #362B8D
analogous
#8D672B #828D2B #518D2B
triadic
#828D2B #2B828D #8D2B82
tetradic
#828D2B #2B8D67 #362B8D #8D2B51
square
#828D2B #2B8D67 #362B8D #8D2B51
split-complementary
#828D2B #2B518D #672B8D
monochromatic
#2C2F0E #575E1D #828D2B #ADBC39 #C3CF63

Accessibility & contrast

On white

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

On black

5.79
#828D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828D2B
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828D2B#FFFFFF#000000##000000
##828D2B1.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861C
Deuteranopia (green-blind)
#968732
Tritanopia (blue-blind)
#8A8579
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #828d2b;
/* rgb */ color: rgb(130, 141, 43);
/* oklch */ color: oklch(61.5% 0.121 115.6);
Tailwind
colors: {
  custom: {
    50: '#a9ae6a',
    500: '#828d2b',
    950: '#000000',
  },
}
SCSS
$custom: #828d2b;
$custom-light: #a9ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#828d2b",
  "rgb": {
    "r": 130,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 66.735,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61522,
    "c": 0.12084,
    "h": 115.6
  },
  "luminance": 0.2397
}

Semantic roles & 50–950 ramp

primary
#828D2B
secondary
#685EB6
accent
#4BDD5B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #828D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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