#838D46#838D46

#838D46 is a mid, moderate yellow. Relative luminance 0.243; OKLCH L 61.9% C 0.096 H 115.9°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#838D46
RGBrgb(131, 141, 70)
HSLhsl(68, 34%, 41%)
HSVhsv(68, 50%, 55%)
CMYKcmyk(7.1%, 0%, 50.4%, 44.7%)
CIE-LABlab(56.40, -14.74, 36.34)
CIE-LCHlch(56.40, 39.21, 112.08°)
OKLaboklab(61.91% -0.0419 0.0863)
OKLCHoklch(61.91% 0.096 115.9)
XYZxyz(19.9907, 24.3175, 9.4338)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838D46 #50468D
analogous
#8D7446 #838D46 #608D46
triadic
#838D46 #46838D #8D4683
tetradic
#838D46 #468D74 #50468D #8D4660
square
#838D46 #468D74 #50468D #8D4660
split-complementary
#838D46 #46608D #74468D
monochromatic
#373B1D #5D6432 #838D46 #A5B060 #BCC489

Accessibility & contrast

On white

3.58
#838D46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#838D46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838D46
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838D46#FFFFFF#000000##000000
##838D461.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958740
Deuteranopia (green-blind)
#95884A
Tritanopia (blue-blind)
#8A867D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #838d46;
/* rgb */ color: rgb(131, 141, 70);
/* oklch */ color: oklch(61.9% 0.096 115.9);
Tailwind
colors: {
  custom: {
    50: '#a8ae7b',
    500: '#838d46',
    950: '#000000',
  },
}
SCSS
$custom: #838d46;
$custom-light: #a8ae7b;
$custom-dark: #000000;
JSON
{
  "hex": "#838d46",
  "rgb": {
    "r": 131,
    "g": 141,
    "b": 70
  },
  "hsl": {
    "h": 68.451,
    "s": 33.649,
    "l": 41.373
  },
  "oklch": {
    "l": 0.61905,
    "c": 0.09597,
    "h": 115.9
  },
  "luminance": 0.24317
}

Semantic roles & 50–950 ramp

primary
#838D46
secondary
#867FB0
accent
#5ECA6D
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #838D46

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

Preview Lab → · Contrast checker → · Palette generator →

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