#828B28#828B28

#828B28 is a mid, vivid yellow. Relative luminance 0.234; OKLCH L 61.0% C 0.121 H 114.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#828B28
RGBrgb(130, 139, 40)
HSLhsl(65, 55%, 35%)
HSVhsv(65, 71%, 55%)
CMYKcmyk(6.5%, 0%, 71.2%, 45.5%)
CIE-LABlab(55.45, -16.52, 49.14)
CIE-LCHlch(55.45, 51.84, 108.58°)
OKLaboklab(61.02% -0.05 0.1097)
OKLCHoklch(61.02% 0.121 114.5)
XYZxyz(18.8221, 23.3646, 5.5254)
Luminance0.2336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828B28 #31288B
analogous
#8B6328 #828B28 #508B28
triadic
#828B28 #28828B #8B2882
tetradic
#828B28 #288B63 #31288B #8B2850
square
#828B28 #288B63 #31288B #8B2850
split-complementary
#828B28 #28508B #63288B
monochromatic
#292C0D #565B1A #828B28 #AEBB36 #C6D05D

Accessibility & contrast

On white

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

On black

5.67
#828B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828B28
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828B28#FFFFFF#000000##000000
##828B281.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958418
Deuteranopia (green-blind)
#958630
Tritanopia (blue-blind)
#8B8377
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #828b28;
/* rgb */ color: rgb(130, 139, 40);
/* oklch */ color: oklch(61.0% 0.121 114.5);
Tailwind
colors: {
  custom: {
    50: '#a9ac69',
    500: '#828b28',
    950: '#000000',
  },
}
SCSS
$custom: #828b28;
$custom-light: #a9ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#828b28",
  "rgb": {
    "r": 130,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 65.455,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61024,
    "c": 0.12061,
    "h": 114.5
  },
  "luminance": 0.23364
}

Semantic roles & 50–950 ramp

primary
#828B28
secondary
#6259B6
accent
#49DF57
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #828B28

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

Preview Lab → · Contrast checker → · Palette generator →

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