#828E18#828E18

#828E18 is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.6% C 0.133 H 115.7°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#828E18
RGBrgb(130, 142, 24)
HSLhsl(66, 71%, 33%)
HSVhsv(66, 83%, 56%)
CMYKcmyk(8.5%, 0%, 83.1%, 44.3%)
CIE-LABlab(56.25, -18.82, 55.29)
CIE-LCHlch(56.25, 58.41, 108.80°)
OKLaboklab(61.64% -0.0578 0.1199)
OKLCHoklch(61.64% 0.133 115.7)
XYZxyz(19.0443, 24.1581, 4.5237)
Luminance0.2416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828E18 #24188E
analogous
#8E5F18 #828E18 #478E18
triadic
#828E18 #18828E #8E1882
tetradic
#828E18 #188E5F #24188E #8E1847
square
#828E18 #188E5F #24188E #8E1847
split-complementary
#828E18 #18478E #5F188E
monochromatic
#222506 #525A0F #828E18 #B2C221 #CFDF41

Accessibility & contrast

On white

3.60
#828E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#828E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828E18
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828E18#FFFFFF#000000##000000
##828E181.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#988824
Tritanopia (blue-blind)
#8B8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #828e18;
/* rgb */ color: rgb(130, 142, 24);
/* oklch */ color: oklch(61.6% 0.133 115.7);
Tailwind
colors: {
  custom: {
    50: '#aaae62',
    500: '#828e18',
    950: '#000000',
  },
}
SCSS
$custom: #828e18;
$custom-light: #aaae62;
$custom-dark: #000000;
JSON
{
  "hex": "#828e18",
  "rgb": {
    "r": 130,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 66.102,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61638,
    "c": 0.13309,
    "h": 115.7
  },
  "luminance": 0.24158
}

Semantic roles & 50–950 ramp

primary
#828E18
secondary
#4F42C0
accent
#3AEE4C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828E18

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

Preview Lab → · Contrast checker → · Palette generator →

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