#838320#838320

#838320 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.2% C 0.117 H 109.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#838320
RGBrgb(131, 131, 32)
HSLhsl(60, 61%, 32%)
HSVhsv(60, 76%, 51%)
CMYKcmyk(0%, 0%, 75.6%, 48.6%)
CIE-LABlab(53.13, -12.23, 49.95)
CIE-LCHlch(53.13, 51.43, 103.76°)
OKLaboklab(59.17% -0.0389 0.11)
OKLCHoklch(59.17% 0.117 109.5)
XYZxyz(17.7377, 21.1627, 4.5167)
Luminance0.2116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838320 #202083
analogous
#835220 #838320 #528320
triadic
#838320 #208383 #832083
tetradic
#838320 #208352 #202083 #832052
square
#838320 #208352 #202083 #832052
split-complementary
#838320 #205283 #522083
monochromatic
#212108 #525214 #838320 #B4B42C #D3D34A

Accessibility & contrast

On white

4.01
#838320 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#838320 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838320
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838320#FFFFFF#000000##000000
##8383201.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0B
Deuteranopia (green-blind)
#8F8028
Tritanopia (blue-blind)
#8D7A70
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #838320;
/* rgb */ color: rgb(131, 131, 32);
/* oklch */ color: oklch(59.2% 0.117 109.5);
Tailwind
colors: {
  custom: {
    50: '#aaa664',
    500: '#838320',
    950: '#000000',
  },
}
SCSS
$custom: #838320;
$custom-light: #aaa664;
$custom-dark: #000000;
JSON
{
  "hex": "#838320",
  "rgb": {
    "r": 131,
    "g": 131,
    "b": 32
  },
  "hsl": {
    "h": 60,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59173,
    "c": 0.11664,
    "h": 109.5
  },
  "luminance": 0.21162
}

Semantic roles & 50–950 ramp

primary
#838320
secondary
#4949B6
accent
#44E444
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838320

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

Preview Lab → · Contrast checker → · Palette generator →

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