#838431#838431

#838431 is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.5% C 0.105 H 109.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#838431
RGBrgb(131, 132, 49)
HSLhsl(61, 46%, 35%)
HSVhsv(61, 63%, 52%)
CMYKcmyk(0.8%, 0%, 62.9%, 48.2%)
CIE-LABlab(53.55, -11.75, 43.35)
CIE-LCHlch(53.55, 44.91, 105.17°)
OKLaboklab(59.55% -0.0357 0.099)
OKLCHoklch(59.55% 0.105 109.9)
XYZxyz(18.1663, 21.5500, 6.1078)
Luminance0.2155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838431 #323184
analogous
#845B31 #838431 #598431
triadic
#838431 #318384 #843183
tetradic
#838431 #31845B #323184 #843159
square
#838431 #31845B #323184 #843159
split-complementary
#838431 #315984 #5B3184
monochromatic
#2A2B10 #575720 #838431 #AFB142 #C6C768

Accessibility & contrast

On white

3.95
#838431 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#838431 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838431
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838431#FFFFFF#000000##000000
##8384311.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F27
Deuteranopia (green-blind)
#8F8136
Tritanopia (blue-blind)
#8C7C73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #838431;
/* rgb */ color: rgb(131, 132, 49);
/* oklch */ color: oklch(59.5% 0.105 109.9);
Tailwind
colors: {
  custom: {
    50: '#a9a76d',
    500: '#838431',
    950: '#000000',
  },
}
SCSS
$custom: #838431;
$custom-light: #a9a76d;
$custom-dark: #000000;
JSON
{
  "hex": "#838431",
  "rgb": {
    "r": 131,
    "g": 132,
    "b": 49
  },
  "hsl": {
    "h": 60.723,
    "s": 45.856,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59548,
    "c": 0.10523,
    "h": 109.9
  },
  "luminance": 0.2155
}

Semantic roles & 50–950 ramp

primary
#838431
secondary
#6362AE
accent
#52D654
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #838431

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

Preview Lab → · Contrast checker → · Palette generator →

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