#828E22#828E22

#828E22 is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.7% C 0.128 H 115.9°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#828E22
RGBrgb(130, 142, 34)
HSLhsl(67, 61%, 35%)
HSVhsv(67, 76%, 56%)
CMYKcmyk(8.5%, 0%, 76.1%, 44.3%)
CIE-LABlab(56.30, -18.40, 52.20)
CIE-LCHlch(56.30, 55.35, 109.42°)
OKLaboklab(61.69% -0.0558 0.1151)
OKLCHoklch(61.69% 0.128 115.9)
XYZxyz(19.1682, 24.2076, 5.1758)
Luminance0.2421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828E22 #2E228E
analogous
#8E6422 #828E22 #4C8E22
triadic
#828E22 #22828E #8E2282
tetradic
#828E22 #228E64 #2E228E #8E224C
square
#828E22 #228E64 #2E228E #8E224C
split-complementary
#828E22 #224C8E #64228E
monochromatic
#282B0A #555D16 #828E22 #AFBF2E #C8D654

Accessibility & contrast

On white

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

On black

5.84
#828E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828E22
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828E22#FFFFFF#000000##000000
##828E221.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98860A
Deuteranopia (green-blind)
#97882B
Tritanopia (blue-blind)
#8B867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #828e22;
/* rgb */ color: rgb(130, 142, 34);
/* oklch */ color: oklch(61.7% 0.128 115.9);
Tailwind
colors: {
  custom: {
    50: '#a9af66',
    500: '#828e22',
    950: '#000000',
  },
}
SCSS
$custom: #828e22;
$custom-light: #a9af66;
$custom-dark: #000000;
JSON
{
  "hex": "#828e22",
  "rgb": {
    "r": 130,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 66.667,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61693,
    "c": 0.12795,
    "h": 115.9
  },
  "luminance": 0.24207
}

Semantic roles & 50–950 ramp

primary
#828E22
secondary
#5D52BA
accent
#43E455
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828E22

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

Preview Lab → · Contrast checker → · Palette generator →

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