#828B18#828B18

#828B18 is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 60.9% C 0.130 H 114.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#828B18
RGBrgb(130, 139, 24)
HSLhsl(65, 71%, 32%)
HSVhsv(65, 83%, 55%)
CMYKcmyk(6.5%, 0%, 82.7%, 45.5%)
CIE-LABlab(55.36, -17.26, 54.52)
CIE-LCHlch(55.36, 57.19, 107.57°)
OKLaboklab(60.92% -0.0535 0.1182)
OKLCHoklch(60.92% 0.13 114.4)
XYZxyz(18.6040, 23.2774, 4.3769)
Luminance0.2328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828B18 #21188B
analogous
#8B5B18 #828B18 #488B18
triadic
#828B18 #18828B #8B1882
tetradic
#828B18 #188B5B #21188B #8B1848
square
#828B18 #188B5B #21188B #8B1848
split-complementary
#828B18 #18488B #5B188B
monochromatic
#202306 #51570F #828B18 #B3BF21 #D2DE3F

Accessibility & contrast

On white

3.71
#828B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#828B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828B18
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828B18#FFFFFF#000000##000000
##828B181.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#958624
Tritanopia (blue-blind)
#8B8276
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #828b18;
/* rgb */ color: rgb(130, 139, 24);
/* oklch */ color: oklch(60.9% 0.130 114.4);
Tailwind
colors: {
  custom: {
    50: '#aaac61',
    500: '#828b18',
    950: '#000000',
  },
}
SCSS
$custom: #828b18;
$custom-light: #aaac61;
$custom-dark: #000000;
JSON
{
  "hex": "#828b18",
  "rgb": {
    "r": 130,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 64.696,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.60924,
    "c": 0.12977,
    "h": 114.4
  },
  "luminance": 0.23277
}

Semantic roles & 50–950 ramp

primary
#828B18
secondary
#4A40BE
accent
#3AED48
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #828B18

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

Preview Lab → · Contrast checker → · Palette generator →

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