#828E2C#828E2C

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

Color values

HEX#828E2C
RGBrgb(130, 142, 44)
HSLhsl(67, 53%, 36%)
HSVhsv(67, 69%, 56%)
CMYKcmyk(8.5%, 0%, 69%, 44.3%)
CIE-LABlab(56.36, -17.84, 48.45)
CIE-LCHlch(56.36, 51.63, 110.22°)
OKLaboklab(61.77% -0.0533 0.109)
OKLCHoklch(61.77% 0.121 116.1)
XYZxyz(19.3340, 24.2739, 6.0492)
Luminance0.2427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828E2C #382C8E
analogous
#8E692C #828E2C #518E2C
triadic
#828E2C #2C828E #8E2C82
tetradic
#828E2C #2C8E69 #382C8E #8E2C51
square
#828E2C #2C8E69 #382C8E #8E2C51
split-complementary
#828E2C #2C518E #692C8E
monochromatic
#2C310F #575F1E #828E2C #ADBD3A #C2CF65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##828E2C#FFFFFF#000000##000000
##828E2C1.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)
#98871D
Deuteranopia (green-blind)
#978833
Tritanopia (blue-blind)
#8A867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #828e2c;
/* rgb */ color: rgb(130, 142, 44);
/* oklch */ color: oklch(61.8% 0.121 116.1);
Tailwind
colors: {
  custom: {
    50: '#a9af6b',
    500: '#828e2c',
    950: '#000000',
  },
}
SCSS
$custom: #828e2c;
$custom-light: #a9af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#828e2c",
  "rgb": {
    "r": 130,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 67.347,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61767,
    "c": 0.12131,
    "h": 116.1
  },
  "luminance": 0.24274
}

Semantic roles & 50–950 ramp

primary
#828E2C
secondary
#6B60B6
accent
#4CDC5D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #828E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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