#828E2B#828E2B

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

Color values

HEX#828E2B
RGBrgb(130, 142, 43)
HSLhsl(67, 54%, 36%)
HSVhsv(67, 70%, 56%)
CMYKcmyk(8.5%, 0%, 69.7%, 44.3%)
CIE-LABlab(56.35, -17.91, 48.85)
CIE-LCHlch(56.35, 52.03, 110.13°)
OKLaboklab(61.76% -0.0536 0.1096)
OKLCHoklch(61.76% 0.122 116)
XYZxyz(19.3154, 24.2665, 5.9514)
Luminance0.2427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828E2B #372B8E
analogous
#8E692B #828E2B #518E2B
triadic
#828E2B #2B828E #8E2B82
tetradic
#828E2B #2B8E69 #372B8E #8E2B51
square
#828E2B #2B8E69 #372B8E #8E2B51
split-complementary
#828E2B #2B518E #692B8E
monochromatic
#2C300F #575F1D #828E2B #ADBD39 #C3D063

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##828E2B#FFFFFF#000000##000000
##828E2B1.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)
#98871C
Deuteranopia (green-blind)
#978832
Tritanopia (blue-blind)
#8A867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #828e2b;
/* rgb */ color: rgb(130, 142, 43);
/* oklch */ color: oklch(61.8% 0.122 116.0);
Tailwind
colors: {
  custom: {
    50: '#a9af6b',
    500: '#828e2b',
    950: '#000000',
  },
}
SCSS
$custom: #828e2b;
$custom-light: #a9af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#828e2b",
  "rgb": {
    "r": 130,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 67.273,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61759,
    "c": 0.12204,
    "h": 116
  },
  "luminance": 0.24266
}

Semantic roles & 50–950 ramp

primary
#828E2B
secondary
#695FB6
accent
#4BDD5D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #828E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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