#828B22#828B22

#828B22 is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 61.0% C 0.125 H 114.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#828B22
RGBrgb(130, 139, 34)
HSLhsl(65, 61%, 34%)
HSVhsv(65, 76%, 55%)
CMYKcmyk(6.5%, 0%, 75.5%, 45.5%)
CIE-LABlab(55.41, -16.84, 51.36)
CIE-LCHlch(55.41, 54.05, 108.15°)
OKLaboklab(60.98% -0.0515 0.1134)
OKLCHoklch(60.98% 0.125 114.4)
XYZxyz(18.7278, 23.3269, 5.0291)
Luminance0.2333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828B22 #2B228B
analogous
#8B6022 #828B22 #4E8B22
triadic
#828B22 #22828B #8B2282
tetradic
#828B22 #228B60 #2B228B #8B224E
square
#828B22 #228B60 #2B228B #8B224E
split-complementary
#828B22 #224E8B #60228B
monochromatic
#26290A #545A16 #828B22 #B0BC2E #CAD553

Accessibility & contrast

On white

3.71
#828B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#828B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828B22
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828B22#FFFFFF#000000##000000
##828B221.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95840C
Deuteranopia (green-blind)
#95862B
Tritanopia (blue-blind)
#8B8377
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #828b22;
/* rgb */ color: rgb(130, 139, 34);
/* oklch */ color: oklch(61.0% 0.125 114.4);
Tailwind
colors: {
  custom: {
    50: '#a9ac66',
    500: '#828b22',
    950: '#000000',
  },
}
SCSS
$custom: #828b22;
$custom-light: #a9ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#828b22",
  "rgb": {
    "r": 130,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 65.143,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60981,
    "c": 0.12451,
    "h": 114.4
  },
  "luminance": 0.23327
}

Semantic roles & 50–950 ramp

primary
#828B22
secondary
#5950B8
accent
#44E452
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828B22

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

Preview Lab → · Contrast checker → · Palette generator →

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