#838520#838520

#838520 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.6% C 0.119 H 110.7°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#838520
RGBrgb(131, 133, 32)
HSLhsl(61, 61%, 32%)
HSVhsv(61, 76%, 52%)
CMYKcmyk(1.5%, 0%, 75.9%, 47.8%)
CIE-LABlab(53.71, -13.31, 50.50)
CIE-LCHlch(53.71, 52.23, 104.76°)
OKLaboklab(59.64% -0.0419 0.1111)
OKLCHoklch(59.64% 0.119 110.7)
XYZxyz(18.0089, 21.7051, 4.6071)
Luminance0.2170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838520 #222085
analogous
#855420 #838520 #518520
triadic
#838520 #208385 #852083
tetradic
#838520 #208554 #222085 #852051
square
#838520 #208554 #222085 #852051
split-complementary
#838520 #205185 #542085
monochromatic
#222208 #525414 #838520 #B4B62C #D1D44C

Accessibility & contrast

On white

3.93
#838520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#838520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838520
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838520#FFFFFF#000000##000000
##8385201.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0A
Deuteranopia (green-blind)
#918228
Tritanopia (blue-blind)
#8D7C72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #838520;
/* rgb */ color: rgb(131, 133, 32);
/* oklch */ color: oklch(59.6% 0.119 110.7);
Tailwind
colors: {
  custom: {
    50: '#aaa864',
    500: '#838520',
    950: '#000000',
  },
}
SCSS
$custom: #838520;
$custom-light: #aaa864;
$custom-dark: #000000;
JSON
{
  "hex": "#838520",
  "rgb": {
    "r": 131,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 61.188,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59641,
    "c": 0.11877,
    "h": 110.7
  },
  "luminance": 0.21705
}

Semantic roles & 50–950 ramp

primary
#838520
secondary
#4C4AB7
accent
#43E447
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838520

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

Preview Lab → · Contrast checker → · Palette generator →

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