#828B20#828B20

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

Color values

HEX#828B20
RGBrgb(130, 139, 32)
HSLhsl(65, 63%, 34%)
HSVhsv(65, 77%, 55%)
CMYKcmyk(6.5%, 0%, 77%, 45.5%)
CIE-LABlab(55.40, -16.94, 52.05)
CIE-LCHlch(55.40, 54.73, 108.02°)
OKLaboklab(60.97% -0.0519 0.1144)
OKLCHoklch(60.97% 0.126 114.4)
XYZxyz(18.6998, 23.3157, 4.8815)
Luminance0.2331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828B20 #29208B
analogous
#8B5E20 #828B20 #4C8B20
triadic
#828B20 #20828B #8B2082
tetradic
#828B20 #208B5E #29208B #8B204C
square
#828B20 #208B5E #29208B #8B204C
split-complementary
#828B20 #204C8B #5E208B
monochromatic
#252809 #535915 #828B20 #B1BD2B #CBD64F

Accessibility & contrast

On white

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

On black

5.66
#828B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828B20
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828B20#FFFFFF#000000##000000
##828B201.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968406
Deuteranopia (green-blind)
#958629
Tritanopia (blue-blind)
#8B8277
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #828b20;
/* rgb */ color: rgb(130, 139, 32);
/* oklch */ color: oklch(61.0% 0.126 114.4);
Tailwind
colors: {
  custom: {
    50: '#a9ac65',
    500: '#828b20',
    950: '#000000',
  },
}
SCSS
$custom: #828b20;
$custom-light: #a9ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#828b20",
  "rgb": {
    "r": 130,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 65.047,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.60968,
    "c": 0.12568,
    "h": 114.4
  },
  "luminance": 0.23315
}

Semantic roles & 50–950 ramp

primary
#828B20
secondary
#564DBA
accent
#42E650
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #828B20

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

Preview Lab → · Contrast checker → · Palette generator →

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