#828E20#828E20

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

Color values

HEX#828E20
RGBrgb(130, 142, 32)
HSLhsl(67, 63%, 34%)
HSVhsv(67, 77%, 56%)
CMYKcmyk(8.5%, 0%, 77.5%, 44.3%)
CIE-LABlab(56.28, -18.50, 52.87)
CIE-LCHlch(56.28, 56.02, 109.28°)
OKLaboklab(61.68% -0.0563 0.1162)
OKLCHoklch(61.68% 0.129 115.8)
XYZxyz(19.1402, 24.1964, 5.0283)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828E20 #2C208E
analogous
#8E6320 #828E20 #4B8E20
triadic
#828E20 #20828E #8E2082
tetradic
#828E20 #208E63 #2C208E #8E204B
square
#828E20 #208E63 #2C208E #8E204B
split-complementary
#828E20 #204B8E #63208E
monochromatic
#272A09 #545C15 #828E20 #B0C02B #C9D851

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##828E20#FFFFFF#000000##000000
##828E201.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)
#988604
Deuteranopia (green-blind)
#97882A
Tritanopia (blue-blind)
#8B8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #828e20;
/* rgb */ color: rgb(130, 142, 32);
/* oklch */ color: oklch(61.7% 0.129 115.8);
Tailwind
colors: {
  custom: {
    50: '#aaae65',
    500: '#828e20',
    950: '#000000',
  },
}
SCSS
$custom: #828e20;
$custom-light: #aaae65;
$custom-dark: #000000;
JSON
{
  "hex": "#828e20",
  "rgb": {
    "r": 130,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 66.545,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.61681,
    "c": 0.12909,
    "h": 115.8
  },
  "luminance": 0.24196
}

Semantic roles & 50–950 ramp

primary
#828E20
secondary
#5B4FBB
accent
#42E654
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828E20

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

Preview Lab → · Contrast checker → · Palette generator →

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