#828F31#828F31

#828F31 is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.0% C 0.119 H 116.7°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#828F31
RGBrgb(130, 143, 49)
HSLhsl(68, 49%, 38%)
HSVhsv(68, 66%, 56%)
CMYKcmyk(9.1%, 0%, 65.7%, 43.9%)
CIE-LABlab(56.70, -18.03, 46.68)
CIE-LCHlch(56.70, 50.04, 111.12°)
OKLaboklab(62.05% -0.0533 0.106)
OKLCHoklch(62.05% 0.119 116.7)
XYZxyz(19.5832, 24.6127, 6.6242)
Luminance0.2461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828F31 #3E318F
analogous
#8F6D31 #828F31 #538F31
triadic
#828F31 #31828F #8F3182
tetradic
#828F31 #318F6D #3E318F #8F3153
square
#828F31 #318F6D #3E318F #8F3153
split-complementary
#828F31 #31538F #6D318F
monochromatic
#2F3412 #596121 #828F31 #ABBD41 #C0CD6D

Accessibility & contrast

On white

3.55
#828F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#828F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828F31
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828F31#FFFFFF#000000##000000
##828F311.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998825
Deuteranopia (green-blind)
#978938
Tritanopia (blue-blind)
#8A877C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #828f31;
/* rgb */ color: rgb(130, 143, 49);
/* oklch */ color: oklch(62.0% 0.119 116.7);
Tailwind
colors: {
  custom: {
    50: '#a9af6e',
    500: '#828f31',
    950: '#000000',
  },
}
SCSS
$custom: #828f31;
$custom-light: #a9af6e;
$custom-dark: #000000;
JSON
{
  "hex": "#828f31",
  "rgb": {
    "r": 130,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 68.298,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62049,
    "c": 0.11868,
    "h": 116.7
  },
  "luminance": 0.24612
}

Semantic roles & 50–950 ramp

primary
#828F31
secondary
#7267B5
accent
#4FD962
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #828F31

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

Preview Lab → · Contrast checker → · Palette generator →

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