#828F2B#828F2B

#828F2B is a mid, vivid yellow. Relative luminance 0.246; OKLCH L 62.0% C 0.123 H 116.5°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#828F2B
RGBrgb(130, 143, 43)
HSLhsl(68, 54%, 36%)
HSVhsv(68, 70%, 56%)
CMYKcmyk(9.1%, 0%, 69.9%, 43.9%)
CIE-LABlab(56.65, -18.43, 49.15)
CIE-LCHlch(56.65, 52.49, 110.55°)
OKLaboklab(62% -0.055 0.1103)
OKLCHoklch(62% 0.123 116.5)
XYZxyz(19.4649, 24.5654, 6.0012)
Luminance0.2457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828F2B #382B8F
analogous
#8F6A2B #828F2B #508F2B
triadic
#828F2B #2B828F #8F2B82
tetradic
#828F2B #2B8F6A #382B8F #8F2B50
square
#828F2B #2B8F6A #382B8F #8F2B50
split-complementary
#828F2B #2B508F #6A2B8F
monochromatic
#2C310F #57601D #828F2B #ADBE39 #C2D064

Accessibility & contrast

On white

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

On black

5.91
#828F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828F2B
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828F2B#FFFFFF#000000##000000
##828F2B1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#99871C
Deuteranopia (green-blind)
#988933
Tritanopia (blue-blind)
#8A877B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #828f2b;
/* rgb */ color: rgb(130, 143, 43);
/* oklch */ color: oklch(62.0% 0.123 116.5);
Tailwind
colors: {
  custom: {
    50: '#a9af6b',
    500: '#828f2b',
    950: '#000000',
  },
}
SCSS
$custom: #828f2b;
$custom-light: #a9af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#828f2b",
  "rgb": {
    "r": 130,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 67.8,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61996,
    "c": 0.12324,
    "h": 116.5
  },
  "luminance": 0.24565
}

Semantic roles & 50–950 ramp

primary
#828F2B
secondary
#6B5FB7
accent
#4BDD5E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #828F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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