#828D22#828D22

#828D22 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.5% C 0.127 H 115.4°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#828D22
RGBrgb(130, 141, 34)
HSLhsl(66, 61%, 34%)
HSVhsv(66, 76%, 55%)
CMYKcmyk(7.8%, 0%, 75.9%, 44.7%)
CIE-LABlab(56.00, -17.88, 51.92)
CIE-LCHlch(56.00, 54.91, 109.01°)
OKLaboklab(61.46% -0.0544 0.1145)
OKLCHoklch(61.46% 0.127 115.4)
XYZxyz(19.0201, 23.9114, 5.1265)
Luminance0.2391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828D22 #2D228D
analogous
#8D6322 #828D22 #4D8D22
triadic
#828D22 #22828D #8D2282
tetradic
#828D22 #228D63 #2D228D #8D224D
square
#828D22 #228D63 #2D228D #8D224D
split-complementary
#828D22 #224D8D #63228D
monochromatic
#272A0A #555C16 #828D22 #AFBE2E #C8D654

Accessibility & contrast

On white

3.63
#828D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#828D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828D22
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828D22#FFFFFF#000000##000000
##828D221.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97860A
Deuteranopia (green-blind)
#97872B
Tritanopia (blue-blind)
#8B8579
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #828d22;
/* rgb */ color: rgb(130, 141, 34);
/* oklch */ color: oklch(61.5% 0.127 115.4);
Tailwind
colors: {
  custom: {
    50: '#a9ae66',
    500: '#828d22',
    950: '#000000',
  },
}
SCSS
$custom: #828d22;
$custom-light: #a9ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#828d22",
  "rgb": {
    "r": 130,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 66.168,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61456,
    "c": 0.12679,
    "h": 115.4
  },
  "luminance": 0.23911
}

Semantic roles & 50–950 ramp

primary
#828D22
secondary
#5C51B9
accent
#44E454
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828D22

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

Preview Lab → · Contrast checker → · Palette generator →

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