#828E21#828E21

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

Color values

HEX#828E21
RGBrgb(130, 142, 33)
HSLhsl(67, 62%, 34%)
HSVhsv(67, 77%, 56%)
CMYKcmyk(8.5%, 0%, 76.8%, 44.3%)
CIE-LABlab(56.29, -18.45, 52.54)
CIE-LCHlch(56.29, 55.68, 109.35°)
OKLaboklab(61.69% -0.0561 0.1157)
OKLCHoklch(61.69% 0.129 115.9)
XYZxyz(19.1540, 24.2019, 5.1010)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828E21 #2D218E
analogous
#8E6421 #828E21 #4B8E21
triadic
#828E21 #21828E #8E2182
tetradic
#828E21 #218E64 #2D218E #8E214B
square
#828E21 #218E64 #2D218E #8E214B
split-complementary
#828E21 #214B8E #64218E
monochromatic
#272B0A #555C15 #828E21 #AFC02D #C8D752

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##828E21#FFFFFF#000000##000000
##828E211.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)
#988607
Deuteranopia (green-blind)
#97882B
Tritanopia (blue-blind)
#8B8679
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #828e21;
/* rgb */ color: rgb(130, 142, 33);
/* oklch */ color: oklch(61.7% 0.129 115.9);
Tailwind
colors: {
  custom: {
    50: '#a9af66',
    500: '#828e21',
    950: '#000000',
  },
}
SCSS
$custom: #828e21;
$custom-light: #a9af66;
$custom-dark: #000000;
JSON
{
  "hex": "#828e21",
  "rgb": {
    "r": 130,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 66.606,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61687,
    "c": 0.12853,
    "h": 115.9
  },
  "luminance": 0.24202
}

Semantic roles & 50–950 ramp

primary
#828E21
secondary
#5C50BA
accent
#42E554
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828E21

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

Preview Lab → · Contrast checker → · Palette generator →

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