#838020#838020

#838020 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.5% C 0.114 H 107.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#838020
RGBrgb(131, 128, 32)
HSLhsl(58, 61%, 32%)
HSVhsv(58, 76%, 51%)
CMYKcmyk(0%, 2.3%, 75.6%, 48.6%)
CIE-LABlab(52.25, -10.60, 49.12)
CIE-LCHlch(52.25, 50.26, 102.18°)
OKLaboklab(58.47% -0.0344 0.1082)
OKLCHoklch(58.47% 0.114 107.6)
XYZxyz(17.3406, 20.3685, 4.3843)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838020 #202383
analogous
#834F20 #838020 #558320
triadic
#838020 #208380 #802083
tetradic
#838020 #20834F #202383 #832055
square
#838020 #20834F #202383 #832055
split-complementary
#838020 #205583 #4F2083
monochromatic
#212008 #525014 #838020 #B4B02C #D3CF4A

Accessibility & contrast

On white

4.14
#838020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#838020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838020
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838020#FFFFFF#000000##000000
##8380201.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0D
Deuteranopia (green-blind)
#8D7E27
Tritanopia (blue-blind)
#8D776E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #838020;
/* rgb */ color: rgb(131, 128, 32);
/* oklch */ color: oklch(58.5% 0.114 107.6);
Tailwind
colors: {
  custom: {
    50: '#aaa463',
    500: '#838020',
    950: '#000000',
  },
}
SCSS
$custom: #838020;
$custom-light: #aaa463;
$custom-dark: #000000;
JSON
{
  "hex": "#838020",
  "rgb": {
    "r": 131,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 58.182,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58473,
    "c": 0.11354,
    "h": 107.6
  },
  "luminance": 0.20368
}

Semantic roles & 50–950 ramp

primary
#838020
secondary
#494DB6
accent
#49E444
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838020

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

Preview Lab → · Contrast checker → · Palette generator →

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