#828A18#828A18

#828A18 is a mid, vivid yellow. Relative luminance 0.230; OKLCH L 60.7% C 0.129 H 113.9°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#828A18
RGBrgb(130, 138, 24)
HSLhsl(64, 70%, 32%)
HSVhsv(64, 83%, 54%)
CMYKcmyk(5.8%, 0%, 82.6%, 45.9%)
CIE-LABlab(55.06, -16.74, 54.26)
CIE-LCHlch(55.06, 56.78, 107.15°)
OKLaboklab(60.69% -0.0521 0.1177)
OKLCHoklch(60.69% 0.129 113.9)
XYZxyz(18.4599, 22.9891, 4.3289)
Luminance0.2299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828A18 #20188A
analogous
#8A5918 #828A18 #498A18
triadic
#828A18 #18828A #8A1882
tetradic
#828A18 #188A59 #20188A #8A1849
square
#828A18 #188A59 #20188A #8A1849
split-complementary
#828A18 #18498A #59188A
monochromatic
#202206 #51560F #828A18 #B3BE21 #D2DE3F

Accessibility & contrast

On white

3.75
#828A18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#828A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828A18
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828A18#FFFFFF#000000##000000
##828A181.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#958523
Tritanopia (blue-blind)
#8B8176
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #828a18;
/* rgb */ color: rgb(130, 138, 24);
/* oklch */ color: oklch(60.7% 0.129 113.9);
Tailwind
colors: {
  custom: {
    50: '#aaac61',
    500: '#828a18',
    950: '#000000',
  },
}
SCSS
$custom: #828a18;
$custom-light: #aaac61;
$custom-dark: #000000;
JSON
{
  "hex": "#828a18",
  "rgb": {
    "r": 130,
    "g": 138,
    "b": 24
  },
  "hsl": {
    "h": 64.211,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.60687,
    "c": 0.12867,
    "h": 113.9
  },
  "luminance": 0.22989
}

Semantic roles & 50–950 ramp

primary
#828A18
secondary
#4940BD
accent
#3BED47
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #828A18

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

Preview Lab → · Contrast checker → · Palette generator →

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