#828B2F#828B2F

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

Color values

HEX#828B2F
RGBrgb(130, 139, 47)
HSLhsl(66, 49%, 36%)
HSVhsv(66, 66%, 55%)
CMYKcmyk(6.5%, 0%, 66.2%, 45.5%)
CIE-LABlab(55.50, -16.08, 46.29)
CIE-LCHlch(55.50, 49.00, 109.15°)
OKLaboklab(61.08% -0.0481 0.1049)
OKLCHoklch(61.08% 0.115 114.6)
XYZxyz(18.9521, 23.4166, 6.2103)
Luminance0.2342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828B2F #382F8B
analogous
#8B662F #828B2F #548B2F
triadic
#828B2F #2F828B #8B2F82
tetradic
#828B2F #2F8B66 #382F8B #8B2F54
square
#828B2F #2F8B66 #382F8B #8B2F54
split-complementary
#828B2F #2F548B #662F8B
monochromatic
#2C3010 #575D20 #828B2F #ADB93E #C2CC68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##828B2F#FFFFFF#000000##000000
##828B2F1.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)
#958423
Deuteranopia (green-blind)
#948635
Tritanopia (blue-blind)
#8A8378
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #828b2f;
/* rgb */ color: rgb(130, 139, 47);
/* oklch */ color: oklch(61.1% 0.115 114.6);
Tailwind
colors: {
  custom: {
    50: '#a9ac6d',
    500: '#828b2f',
    950: '#000000',
  },
}
SCSS
$custom: #828b2f;
$custom-light: #a9ac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#828b2f",
  "rgb": {
    "r": 130,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 65.87,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61083,
    "c": 0.11539,
    "h": 114.6
  },
  "luminance": 0.23416
}

Semantic roles & 50–950 ramp

primary
#828B2F
secondary
#6B63B3
accent
#4FD95C
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #828B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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