#828918#828918

#828918 is a mid, vivid yellow. Relative luminance 0.227; OKLCH L 60.5% C 0.128 H 113.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#828918
RGBrgb(130, 137, 24)
HSLhsl(64, 70%, 32%)
HSVhsv(64, 82%, 54%)
CMYKcmyk(5.1%, 0%, 82.5%, 46.3%)
CIE-LABlab(54.77, -16.22, 54.00)
CIE-LCHlch(54.77, 56.38, 106.71°)
OKLaboklab(60.45% -0.0506 0.1171)
OKLCHoklch(60.45% 0.128 113.4)
XYZxyz(18.3171, 22.7035, 4.2813)
Luminance0.2270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828918 #1F1889
analogous
#895818 #828918 #4A8918
triadic
#828918 #188289 #891882
tetradic
#828918 #188958 #1F1889 #89184A
square
#828918 #188958 #1F1889 #89184A
split-complementary
#828918 #184A89 #581889
monochromatic
#1F2106 #51550F #828918 #B3BD21 #D3DD3E

Accessibility & contrast

On white

3.79
#828918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#828918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828918
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828918#FFFFFF#000000##000000
##8289181.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#948423
Tritanopia (blue-blind)
#8B8075
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #828918;
/* rgb */ color: rgb(130, 137, 24);
/* oklch */ color: oklch(60.5% 0.128 113.4);
Tailwind
colors: {
  custom: {
    50: '#aaab61',
    500: '#828918',
    950: '#000000',
  },
}
SCSS
$custom: #828918;
$custom-light: #aaab61;
$custom-dark: #000000;
JSON
{
  "hex": "#828918",
  "rgb": {
    "r": 130,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 63.717,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.6045,
    "c": 0.12758,
    "h": 113.4
  },
  "luminance": 0.22703
}

Semantic roles & 50–950 ramp

primary
#828918
secondary
#4840BD
accent
#3BED46
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #828918

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

Preview Lab → · Contrast checker → · Palette generator →

#828918 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva