#828418#828418

#828418 is a mid, vivid yellow. Relative luminance 0.213; OKLCH L 59.3% C 0.122 H 110.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#828418
RGBrgb(130, 132, 24)
HSLhsl(61, 69%, 31%)
HSVhsv(61, 82%, 52%)
CMYKcmyk(1.5%, 0%, 81.8%, 48.2%)
CIE-LABlab(53.29, -13.56, 52.71)
CIE-LCHlch(53.29, 54.43, 104.43°)
OKLaboklab(59.27% -0.0433 0.1143)
OKLCHoklch(59.27% 0.122 110.7)
XYZxyz(17.6227, 21.3148, 4.0498)
Luminance0.2131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828418 #1A1884
analogous
#845018 #828418 #4C8418
triadic
#828418 #188284 #841882
tetradic
#828418 #188450 #1A1884 #84184C
square
#828418 #188450 #1A1884 #84184C
split-complementary
#828418 #184C84 #501884
monochromatic
#1C1C05 #4F500F #828418 #B5B821 #D8DB3B

Accessibility & contrast

On white

3.99
#828418 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#828418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828418
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828418#FFFFFF#000000##000000
##8284181.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#908122
Tritanopia (blue-blind)
#8C7B70
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #828418;
/* rgb */ color: rgb(130, 132, 24);
/* oklch */ color: oklch(59.3% 0.122 110.7);
Tailwind
colors: {
  custom: {
    50: '#aaa760',
    500: '#828418',
    950: '#000000',
  },
}
SCSS
$custom: #828418;
$custom-light: #aaa760;
$custom-dark: #000000;
JSON
{
  "hex": "#828418",
  "rgb": {
    "r": 130,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 61.111,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5927,
    "c": 0.12224,
    "h": 110.7
  },
  "luminance": 0.21314
}

Semantic roles & 50–950 ramp

primary
#828418
secondary
#4240B8
accent
#3CEC3F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #828418

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

Preview Lab → · Contrast checker → · Palette generator →

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