#838D4E#838D4E

#838D4E is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.0% C 0.087 H 116.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#838D4E
RGBrgb(131, 141, 78)
HSLhsl(70, 29%, 43%)
HSVhsv(70, 45%, 55%)
CMYKcmyk(7.1%, 0%, 44.7%, 44.7%)
CIE-LABlab(56.51, -13.87, 32.29)
CIE-LCHlch(56.51, 35.14, 113.25°)
OKLaboklab(62.03% -0.0387 0.078)
OKLCHoklch(62.03% 0.087 116.4)
XYZxyz(20.2603, 24.4253, 10.8535)
Luminance0.2442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838D4E #584E8D
analogous
#8D774E #838D4E #638D4E
triadic
#838D4E #4E838D #8D4E83
tetradic
#838D4E #4E8D77 #584E8D #8D4E63
square
#838D4E #4E8D77 #584E8D #8D4E63
split-complementary
#838D4E #4E638D #774E8D
monochromatic
#3A3E22 #5E6638 #838D4E #A3AD6B #BBC392

Accessibility & contrast

On white

3.57
#838D4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#838D4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838D4E
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838D4E#FFFFFF#000000##000000
##838D4E1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958749
Deuteranopia (green-blind)
#948851
Tritanopia (blue-blind)
#89877E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #838d4e;
/* rgb */ color: rgb(131, 141, 78);
/* oklch */ color: oklch(62.0% 0.087 116.4);
Tailwind
colors: {
  custom: {
    50: '#a8ae81',
    500: '#838d4e',
    950: '#000000',
  },
}
SCSS
$custom: #838d4e;
$custom-light: #a8ae81;
$custom-dark: #000000;
JSON
{
  "hex": "#838d4e",
  "rgb": {
    "r": 131,
    "g": 141,
    "b": 78
  },
  "hsl": {
    "h": 69.524,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.62025,
    "c": 0.08704,
    "h": 116.4
  },
  "luminance": 0.24425
}

Semantic roles & 50–950 ramp

primary
#838D4E
secondary
#8E87AF
accent
#63C572
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#10100A
muted
#7F7F7C

Preview Lab

Preview with #838D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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