#838820#838820

#838820 is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.3% C 0.122 H 112.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#838820
RGBrgb(131, 136, 32)
HSLhsl(63, 62%, 33%)
HSVhsv(63, 76%, 53%)
CMYKcmyk(3.7%, 0%, 76.5%, 46.7%)
CIE-LABlab(54.59, -14.91, 51.33)
CIE-LCHlch(54.59, 53.45, 106.19°)
OKLaboklab(60.35% -0.0464 0.1129)
OKLCHoklch(60.35% 0.122 112.3)
XYZxyz(18.4255, 22.5383, 4.7459)
Luminance0.2254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838820 #252088
analogous
#885920 #838820 #4F8820
triadic
#838820 #208388 #882083
tetradic
#838820 #208859 #252088 #88204F
square
#838820 #208859 #252088 #88204F
split-complementary
#838820 #204F88 #592088
monochromatic
#242509 #535614 #838820 #B3BA2C #CFD54D

Accessibility & contrast

On white

3.81
#838820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#838820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838820
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838820#FFFFFF#000000##000000
##8388201.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938108
Deuteranopia (green-blind)
#938429
Tritanopia (blue-blind)
#8C7F74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #838820;
/* rgb */ color: rgb(131, 136, 32);
/* oklch */ color: oklch(60.3% 0.122 112.3);
Tailwind
colors: {
  custom: {
    50: '#aaaa64',
    500: '#838820',
    950: '#000000',
  },
}
SCSS
$custom: #838820;
$custom-light: #aaaa64;
$custom-dark: #000000;
JSON
{
  "hex": "#838820",
  "rgb": {
    "r": 131,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 62.885,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.60345,
    "c": 0.12202,
    "h": 112.3
  },
  "luminance": 0.22538
}

Semantic roles & 50–950 ramp

primary
#838820
secondary
#514CB8
accent
#43E54B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #838820

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

Preview Lab → · Contrast checker → · Palette generator →

#838820 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva