#828C18#828C18

#828C18 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.2% C 0.131 H 114.8°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#828C18
RGBrgb(130, 140, 24)
HSLhsl(65, 71%, 32%)
HSVhsv(65, 83%, 55%)
CMYKcmyk(7.1%, 0%, 82.9%, 45.1%)
CIE-LABlab(55.65, -17.79, 54.78)
CIE-LCHlch(55.65, 57.59, 107.99°)
OKLaboklab(61.16% -0.0549 0.1188)
OKLCHoklch(61.16% 0.131 114.8)
XYZxyz(18.7494, 23.5683, 4.4254)
Luminance0.2357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828C18 #22188C
analogous
#8C5C18 #828C18 #488C18
triadic
#828C18 #18828C #8C1882
tetradic
#828C18 #188C5C #22188C #8C1848
square
#828C18 #188C5C #22188C #8C1848
split-complementary
#828C18 #18488C #5C188C
monochromatic
#212406 #51580F #828C18 #B3C021 #D1DE40

Accessibility & contrast

On white

3.68
#828C18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#828C18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828C18
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828C18#FFFFFF#000000##000000
##828C181.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#968624
Tritanopia (blue-blind)
#8B8377
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #828c18;
/* rgb */ color: rgb(130, 140, 24);
/* oklch */ color: oklch(61.2% 0.131 114.8);
Tailwind
colors: {
  custom: {
    50: '#aaad61',
    500: '#828c18',
    950: '#000000',
  },
}
SCSS
$custom: #828c18;
$custom-light: #aaad61;
$custom-dark: #000000;
JSON
{
  "hex": "#828c18",
  "rgb": {
    "r": 130,
    "g": 140,
    "b": 24
  },
  "hsl": {
    "h": 65.172,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61162,
    "c": 0.13087,
    "h": 114.8
  },
  "luminance": 0.23568
}

Semantic roles & 50–950 ramp

primary
#828C18
secondary
#4C41BF
accent
#3AED4A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828C18

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

Preview Lab → · Contrast checker → · Palette generator →

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