#828F22#828F22

#828F22 is a mid, vivid yellow. Relative luminance 0.245; OKLCH L 61.9% C 0.129 H 116.3°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#828F22
RGBrgb(130, 143, 34)
HSLhsl(67, 62%, 35%)
HSVhsv(67, 76%, 56%)
CMYKcmyk(9.1%, 0%, 76.2%, 43.9%)
CIE-LABlab(56.59, -18.92, 52.48)
CIE-LCHlch(56.59, 55.78, 109.83°)
OKLaboklab(61.93% -0.0573 0.1157)
OKLCHoklch(61.93% 0.129 116.3)
XYZxyz(19.3176, 24.5065, 5.2257)
Luminance0.2451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828F22 #2F228F
analogous
#8F6622 #828F22 #4C8F22
triadic
#828F22 #22828F #8F2282
tetradic
#828F22 #228F66 #2F228F #8F224C
square
#828F22 #228F66 #2F228F #8F224C
split-complementary
#828F22 #224C8F #66228F
monochromatic
#282C0A #555E16 #828F22 #AFC02E #C7D755

Accessibility & contrast

On white

3.56
#828F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#828F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828F22
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828F22#FFFFFF#000000##000000
##828F221.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998709
Deuteranopia (green-blind)
#98882B
Tritanopia (blue-blind)
#8B877A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #828f22;
/* rgb */ color: rgb(130, 143, 34);
/* oklch */ color: oklch(61.9% 0.129 116.3);
Tailwind
colors: {
  custom: {
    50: '#a9af66',
    500: '#828f22',
    950: '#000000',
  },
}
SCSS
$custom: #828f22;
$custom-light: #a9af66;
$custom-dark: #000000;
JSON
{
  "hex": "#828f22",
  "rgb": {
    "r": 130,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 67.156,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61931,
    "c": 0.12911,
    "h": 116.3
  },
  "luminance": 0.24506
}

Semantic roles & 50–950 ramp

primary
#828F22
secondary
#5F52BA
accent
#43E556
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828F22

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

Preview Lab → · Contrast checker → · Palette generator →

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