#838B41#838B41

#838B41 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.4% C 0.099 H 114.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#838B41
RGBrgb(131, 139, 65)
HSLhsl(66, 36%, 40%)
HSVhsv(66, 53%, 55%)
CMYKcmyk(5.8%, 0%, 53.2%, 45.5%)
CIE-LABlab(55.76, -14.17, 38.11)
CIE-LCHlch(55.76, 40.66, 110.39°)
OKLaboklab(61.37% -0.0408 0.0898)
OKLCHoklch(61.37% 0.099 114.4)
XYZxyz(19.5472, 23.6725, 8.5395)
Luminance0.2367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838B41 #49418B
analogous
#8B6E41 #838B41 #5E8B41
triadic
#838B41 #41838B #8B4183
tetradic
#838B41 #418B6E #49418B #8B415E
square
#838B41 #418B6E #49418B #8B415E
split-complementary
#838B41 #415E8B #6E418B
monochromatic
#34381A #5C612D #838B41 #A7B158 #BDC582

Accessibility & contrast

On white

3.66
#838B41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#838B41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838B41
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838B41#FFFFFF#000000##000000
##838B411.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#94853A
Deuteranopia (green-blind)
#938645
Tritanopia (blue-blind)
#8A847A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #838b41;
/* rgb */ color: rgb(131, 139, 65);
/* oklch */ color: oklch(61.4% 0.099 114.4);
Tailwind
colors: {
  custom: {
    50: '#a9ac78',
    500: '#838b41',
    950: '#000000',
  },
}
SCSS
$custom: #838b41;
$custom-light: #a9ac78;
$custom-dark: #000000;
JSON
{
  "hex": "#838b41",
  "rgb": {
    "r": 131,
    "g": 139,
    "b": 65
  },
  "hsl": {
    "h": 66.486,
    "s": 36.275,
    "l": 40
  },
  "oklch": {
    "l": 0.61369,
    "c": 0.09859,
    "h": 114.4
  },
  "luminance": 0.23672
}

Semantic roles & 50–950 ramp

primary
#838B41
secondary
#7F79AF
accent
#5CCC68
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #838B41

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

Preview Lab → · Contrast checker → · Palette generator →

#838B41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva