#838522#838522

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

Color values

HEX#838522
RGBrgb(131, 133, 34)
HSLhsl(61, 59%, 33%)
HSVhsv(61, 74%, 52%)
CMYKcmyk(1.5%, 0%, 74.4%, 47.8%)
CIE-LABlab(53.72, -13.21, 49.79)
CIE-LCHlch(53.72, 51.51, 104.86°)
OKLaboklab(59.65% -0.0415 0.11)
OKLCHoklch(59.65% 0.118 110.7)
XYZxyz(18.0370, 21.7163, 4.7546)
Luminance0.2172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838522 #242285
analogous
#855522 #838522 #518522
triadic
#838522 #228385 #852283
tetradic
#838522 #228555 #242285 #852251
square
#838522 #228555 #242285 #852251
split-complementary
#838522 #225185 #552285
monochromatic
#232409 #535416 #838522 #B3B62E #CFD24F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##838522#FFFFFF#000000##000000
##8385221.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)
#907F0F
Deuteranopia (green-blind)
#91822A
Tritanopia (blue-blind)
#8C7C72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #838522;
/* rgb */ color: rgb(131, 133, 34);
/* oklch */ color: oklch(59.7% 0.118 110.7);
Tailwind
colors: {
  custom: {
    50: '#aaa865',
    500: '#838522',
    950: '#000000',
  },
}
SCSS
$custom: #838522;
$custom-light: #aaa865;
$custom-dark: #000000;
JSON
{
  "hex": "#838522",
  "rgb": {
    "r": 131,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 61.212,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59654,
    "c": 0.11754,
    "h": 110.7
  },
  "luminance": 0.21716
}

Semantic roles & 50–950 ramp

primary
#838522
secondary
#4F4DB6
accent
#45E249
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838522

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

Preview Lab → · Contrast checker → · Palette generator →

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