#838916#838916

#838916 is a mid, vivid yellow. Relative luminance 0.228; OKLCH L 60.5% C 0.128 H 112.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#838916
RGBrgb(131, 137, 22)
HSLhsl(63, 72%, 31%)
HSVhsv(63, 84%, 54%)
CMYKcmyk(4.4%, 0%, 83.9%, 46.3%)
CIE-LABlab(54.84, -15.83, 54.65)
CIE-LCHlch(54.84, 56.90, 106.16°)
OKLaboklab(60.53% -0.0498 0.1181)
OKLCHoklch(60.53% 0.128 112.8)
XYZxyz(18.4512, 22.7750, 4.1829)
Luminance0.2278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838916 #1C1689
analogous
#895516 #838916 #498916
triadic
#838916 #168389 #891683
tetradic
#838916 #168955 #1C1689 #891649
square
#838916 #168955 #1C1689 #891649
split-complementary
#838916 #164989 #551689
monochromatic
#1E2005 #51540E #838916 #B5BE1E #D7DF3A

Accessibility & contrast

On white

3.78
#838916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#838916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838916
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838916#FFFFFF#000000##000000
##8389161.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#948422
Tritanopia (blue-blind)
#8D8075
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #838916;
/* rgb */ color: rgb(131, 137, 22);
/* oklch */ color: oklch(60.5% 0.128 112.8);
Tailwind
colors: {
  custom: {
    50: '#abab60',
    500: '#838916',
    950: '#000000',
  },
}
SCSS
$custom: #838916;
$custom-light: #abab60;
$custom-dark: #000000;
JSON
{
  "hex": "#838916",
  "rgb": {
    "r": 131,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 63.13,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60527,
    "c": 0.12815,
    "h": 112.8
  },
  "luminance": 0.22775
}

Semantic roles & 50–950 ramp

primary
#838916
secondary
#453EBD
accent
#39EF42
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #838916

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

Preview Lab → · Contrast checker → · Palette generator →

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