#828D18#828D18

#828D18 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.4% C 0.132 H 115.3°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#828D18
RGBrgb(130, 141, 24)
HSLhsl(66, 71%, 32%)
HSVhsv(66, 83%, 55%)
CMYKcmyk(7.8%, 0%, 83%, 44.7%)
CIE-LABlab(55.95, -18.31, 55.03)
CIE-LCHlch(55.95, 58.00, 108.40°)
OKLaboklab(61.4% -0.0564 0.1193)
OKLCHoklch(61.4% 0.132 115.3)
XYZxyz(18.8962, 23.8619, 4.4743)
Luminance0.2386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828D18 #23188D
analogous
#8D5E18 #828D18 #488D18
triadic
#828D18 #18828D #8D1882
tetradic
#828D18 #188D5E #23188D #8D1848
square
#828D18 #188D5E #23188D #8D1848
split-complementary
#828D18 #18488D #5E188D
monochromatic
#222406 #52590F #828D18 #B2C121 #D0DF41

Accessibility & contrast

On white

3.64
#828D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#828D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828D18
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828D18#FFFFFF#000000##000000
##828D181.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#978724
Tritanopia (blue-blind)
#8B8478
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #828d18;
/* rgb */ color: rgb(130, 141, 24);
/* oklch */ color: oklch(61.4% 0.132 115.3);
Tailwind
colors: {
  custom: {
    50: '#aaae62',
    500: '#828d18',
    950: '#000000',
  },
}
SCSS
$custom: #828d18;
$custom-light: #aaae62;
$custom-dark: #000000;
JSON
{
  "hex": "#828d18",
  "rgb": {
    "r": 130,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 65.641,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.614,
    "c": 0.13198,
    "h": 115.3
  },
  "luminance": 0.23862
}

Semantic roles & 50–950 ramp

primary
#828D18
secondary
#4D42BF
accent
#3AEE4B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828D18

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

Preview Lab → · Contrast checker → · Palette generator →

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