#828F18#828F18

#828F18 is a mid, vivid yellow. Relative luminance 0.245; OKLCH L 61.9% C 0.134 H 116.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#828F18
RGBrgb(130, 143, 24)
HSLhsl(67, 71%, 33%)
HSVhsv(67, 83%, 56%)
CMYKcmyk(9.1%, 0%, 83.2%, 43.9%)
CIE-LABlab(56.54, -19.34, 55.55)
CIE-LCHlch(56.54, 58.82, 109.19°)
OKLaboklab(61.88% -0.0592 0.1204)
OKLCHoklch(61.88% 0.134 116.2)
XYZxyz(19.1938, 24.4570, 4.5735)
Luminance0.2446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828F18 #25188F
analogous
#8F6118 #828F18 #468F18
triadic
#828F18 #18828F #8F1882
tetradic
#828F18 #188F61 #25188F #8F1846
square
#828F18 #188F61 #25188F #8F1846
split-complementary
#828F18 #18468F #61188F
monochromatic
#232606 #525B0F #828F18 #B2C321 #CEDF42

Accessibility & contrast

On white

3.56
#828F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#828F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828F18
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828F18#FFFFFF#000000##000000
##828F181.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#998824
Tritanopia (blue-blind)
#8B867A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #828f18;
/* rgb */ color: rgb(130, 143, 24);
/* oklch */ color: oklch(61.9% 0.134 116.2);
Tailwind
colors: {
  custom: {
    50: '#aaaf62',
    500: '#828f18',
    950: '#000000',
  },
}
SCSS
$custom: #828f18;
$custom-light: #aaaf62;
$custom-dark: #000000;
JSON
{
  "hex": "#828f18",
  "rgb": {
    "r": 130,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 66.555,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61876,
    "c": 0.13421,
    "h": 116.2
  },
  "luminance": 0.24457
}

Semantic roles & 50–950 ramp

primary
#828F18
secondary
#5043C0
accent
#3AEE4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828F18

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

Preview Lab → · Contrast checker → · Palette generator →

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